From 313360ac1b0c16a3ba1536c7bea7b0bdcaf552e7 Mon Sep 17 00:00:00 2001 From: samyhaff Date: Sat, 11 May 2024 11:10:49 +0200 Subject: [PATCH] read iterations from args in gui --- src/bin/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/main.rs b/src/bin/main.rs index 44b31e4..6db4912 100644 --- a/src/bin/main.rs +++ b/src/bin/main.rs @@ -118,7 +118,7 @@ fn main() { } _ => { - let state = neuroevolution::gui::State::new(alg, problem, N_ITERATIONS); + let state = neuroevolution::gui::State::new(alg, problem, iterations); event::run(ctx, event_loop, state); } }