summaryrefslogtreecommitdiffstats
path: root/src/server/InputPort.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/InputPort.cpp')
-rw-r--r--src/server/InputPort.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/InputPort.cpp b/src/server/InputPort.cpp
index b3819715..ebe5d41d 100644
--- a/src/server/InputPort.cpp
+++ b/src/server/InputPort.cpp
@@ -184,7 +184,7 @@ InputPort::pre_process(Context& context)
_buffers->at(v)->prepare_read(context);
}
} else {
- uint32_t max_num_srcs = 0;
+ uint32_t max_num_srcs = 1;
for (Edges::const_iterator e = _edges.begin(); e != _edges.end(); ++e) {
max_num_srcs += e->tail()->poly();
}