yield for setup is not always performed

parent b308321e
......@@ -804,6 +804,8 @@ class Machine(CoreObject):
#===================================================================
#===================================================================
#===================================================================
# if the distribution is Fixed and the mean is zero then yield not
if not (self.stpRng.mean==0 and self.stpRng.distributionType=='Fixed'):
yield self.env.process(self.operation(type='Setup'))
self.endOperationActions(type='Setup')
......
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