[fix] fixed # of runs to reflect config file
This commit is contained in:
@@ -26,7 +26,7 @@ object Main {
|
|||||||
val output = new Output(sharedMemory)
|
val output = new Output(sharedMemory)
|
||||||
val simulator = new Simulation(config)
|
val simulator = new Simulation(config)
|
||||||
|
|
||||||
for(_ <- 0 to sharedMemory.config.runs) {
|
for(_ <- 1 to sharedMemory.config.runs) {
|
||||||
val outputThread = new Thread(output)
|
val outputThread = new Thread(output)
|
||||||
outputThread.start()
|
outputThread.start()
|
||||||
simulator.start()
|
simulator.start()
|
||||||
|
|||||||
Reference in New Issue
Block a user