diff --git a/examples/restarting/main.py b/examples/restarting/main.py index 4e86b05..f0b93b3 100644 --- a/examples/restarting/main.py +++ b/examples/restarting/main.py @@ -8,6 +8,7 @@ class AutoCounterState: def __init__(self, count): self.count = count +# increments count every second and emits output event class AutoCounter(AtomicDEVS): def __init__(self, start): AtomicDEVS.__init__(self, "System") @@ -18,7 +19,6 @@ class AutoCounter(AtomicDEVS): return 1.0 def outputFnc(self): - print("outputFnc...", self, self.state) return {self.outport: self.state.count} def intTransition(self):