diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/task_fail.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/task_fail.cpp b/lib/task_fail.cpp index 415c13b..061ee9a 100644 --- a/lib/task_fail.cpp +++ b/lib/task_fail.cpp @@ -33,7 +33,7 @@ void BlockActor::input_fail(const size_t i) } //check that the input is not already maxed - if (data->input_queues.is_front_maximal(i)) + if (not data->input_queues.empty(i) and data->input_queues.is_front_maximal(i)) { throw std::runtime_error("input_fail called on maximum_items buffer in " + name); } |