Explorar el Código

Have simulation return the time next

Yentl Van Tendeloo hace 7 años
padre
commit
5ae2993e32
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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):
         """