Преглед изворни кода

Have simulation return the time next

Yentl Van Tendeloo пре 7 година
родитељ
комит
5ae2993e32
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      src/pypdevs/minimal.py

+ 1 - 0
src/pypdevs/minimal.py

@@ -231,6 +231,7 @@ class Simulator(object):
             # Do reschedules
             scheduler.massReschedule(transitioning)
             tn = scheduler.readFirst()
+        return tn[0]
 
     def __getattr__(self, attr):
         """