Skip to content

Commit

Permalink
fixing style refs #12
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Dec 27, 2024
1 parent 92316a2 commit 94e8d92
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ def runSingle(sumoEndTime, traciEndTime, numClients, steplengths, runNr, SUMOste
(sumoBinary, numClients, PORT), shell=True, stdout=sys.stdout)
# Alternate ordering
indexRange = range(numClients) if (runNr % 2 == 0) else list(reversed(range(numClients)))
procs = [multiprocessing.Process(target=traciLoop, args=(PORT, traciEndTime, i + 1, SUMOsteplength, steplengths[indexRange[i]]))
procs = [multiprocessing.Process(target=traciLoop,
args=(PORT, traciEndTime, i + 1, SUMOsteplength, steplengths[indexRange[i]]))
for i in range(numClients)]
for p in procs:
p.start()
Expand Down

0 comments on commit 94e8d92

Please sign in to comment.