소스 검색

Add empty send_operations for intermediate tasknames

Yentl Van Tendeloo 7 년 전
부모
커밋
f01ee1c2c7
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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, [])