Commit 6a9bd38d authored by Georgios Dagkakis's avatar Georgios Dagkakis

correction in activation

parent 7966db36
...@@ -543,7 +543,7 @@ def initializeObjects(): ...@@ -543,7 +543,7 @@ def initializeObjects():
# =========================================================================== # ===========================================================================
def activateObjects(): def activateObjects():
# XXX EventGeneratorList # XXX EventGeneratorList
for element in G.ObjList + G.ObjectInterruptionList + G.AllocationManagementList: for element in G.ObjList + G.ObjectInterruptionList:
G.env.process(element.run()) G.env.process(element.run())
# =========================================================================== # ===========================================================================
...@@ -551,7 +551,7 @@ def activateObjects(): ...@@ -551,7 +551,7 @@ def activateObjects():
# =========================================================================== # ===========================================================================
def main(argv=[], input_data=None): def main(argv=[], input_data=None):
argv = argv or sys.argv[1:] argv = argv or sys.argv[1:]
#create an empty list to store all the objects in #create an empty list to store all the objects in
G.ObjList=[] G.ObjList=[]
......
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