Browse Source

Add empty send_operations for intermediate tasknames

Yentl Van Tendeloo 7 years ago
parent
commit
581d79e482
1 changed files with 1 additions and 0 deletions
  1. 1 0
      model/model.py

+ 1 - 0
model/model.py

@@ -429,6 +429,7 @@ class ModelverseInterface(AtomicDEVS):
                     task_name, _ = prev_output.split(" : ", 1)
                     self.state.blocked = True
                     self.state.task_to_spawner[task_name] = None
+                    self.state.send_operations[task_name] = [[]]
                     # NOTE We now know that there is something to do on an other task, so we just wait for that event to come in
                     self.state.operations.insert(0, [])
                     self.state.operations.insert(0, [])