[fix] fixed # of runs to reflect config file

This commit is contained in:
2020-01-29 01:19:11 -06:00
parent 4233573afd
commit a5ced64f35

View File

@@ -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()