lib/SimControl/controller.rb in SimControl-0.1.6 vs lib/SimControl/controller.rb in SimControl-0.1.7
- old
+ new
@@ -48,10 +48,10 @@
def hosts(&hosts_block)
@hosts.process &hosts_block
end
def simulation(klass, script, arguments)
- @current_simulation = klass.new script, arguments
+ @current_simulation = klass.new script, @results_directory, arguments
end
def seeds
@rng = Random.new(@meta_seed)
(1..@number_of_repetitions).map { @rng.rand(@max_seed) }