Commit 09af29cc authored by Georgios Dagkakis's avatar Georgios Dagkakis

CoreObject does not need to signal giver in getEntity

parent a395a1d0
...@@ -412,9 +412,6 @@ class CoreObject(ManPyObject): ...@@ -412,9 +412,6 @@ class CoreObject(ManPyObject):
for holdEntity in activeObjectQueue: for holdEntity in activeObjectQueue:
wip+=holdEntity.numberOfUnits wip+=holdEntity.numberOfUnits
self.wipStatList=numpy.concatenate((self.wipStatList,[[self.env.now, wip]])) self.wipStatList=numpy.concatenate((self.wipStatList,[[self.env.now, wip]]))
# if the object (eg Queue) canAccept then signal the Giver
if self.canAccept():
self.signalGiver()
return activeEntity return activeEntity
#=========================================================================== #===========================================================================
......
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