Merge branch 'bugfix' of jexelmans/joeriPDEVS into master
This commit is contained in:
commit
edb714017f
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ from pypdevs.DEVS import AtomicDEVS
|
|||
class QueueState:
|
||||
def __init__(self, outputs):
|
||||
# Keep a list of all idle processors
|
||||
self.idle_procs = range(outputs)
|
||||
self.idle_procs = list(range(outputs))
|
||||
# Keep a list that is the actual queue data structure
|
||||
self.queue = []
|
||||
# Keep the process that is currently being processed
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue