Explorar o código

Working simple operations for execution (single thread)

Yentl Van Tendeloo %!s(int64=7) %!d(string=hai) anos
pai
achega
8014db80b1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      model/model.py

+ 1 - 1
model/model.py

@@ -441,7 +441,7 @@ class ModelverseInterface(AtomicDEVS):
                 elif self.state.send_operations == []:
                     # At the end of these operations, so finish up!
                     if self.state.had_key is not None:
-                        self.state.keyed_operations.pop(self.state.had_key)
+                        self.state.keyed_operations.pop(self.state.op_name)
                         self.state.additional_taskname = self.state.had_key
                         self.state.additional_operations.insert(0, [])
                         self.state.send_operations = ["__continue__"]