From 5ae2993e326b1b72840f2b267f597b6bd41cd21d Mon Sep 17 00:00:00 2001 From: Yentl Van Tendeloo Date: Fri, 15 Dec 2017 10:06:17 +0100 Subject: [PATCH] Have simulation return the time next --- src/pypdevs/minimal.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pypdevs/minimal.py b/src/pypdevs/minimal.py index 33342e2..df48ac7 100644 --- a/src/pypdevs/minimal.py +++ b/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): """