Commit 0e775875 authored by Georgios Dagkakis's avatar Georgios Dagkakis Committed by Jérome Perrin

correction in remainingProcessingTime distribution

parent 4e57e0d0
......@@ -758,7 +758,7 @@ class CoreObject(ManPyObject):
if activeEntity.remainingProcessingTime:
remainingProcessingTime=activeEntity.remainingProcessingTime
from RandomNumberGenerator import RandomNumberGenerator
initialWIPrng=RandomNumberGenerator(self, **remainingProcessingTime)
initialWIPrng=RandomNumberGenerator(self, remainingProcessingTime)
return initialWIPrng.generateNumber()
return self.rng.generateNumber() # this is if we have a default processing time for all the entities
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment