From 5883208c68f50a787aaa832253308129743a627d Mon Sep 17 00:00:00 2001 From: danielwilczak101 <44122838+danielwilczak101@users.noreply.github.com> Date: Tue, 29 Sep 2020 20:54:18 -0400 Subject: [PATCH] fixed --- src/EasyGA.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EasyGA.py b/src/EasyGA.py index bd851b4..ceaf80f 100644 --- a/src/EasyGA.py +++ b/src/EasyGA.py @@ -44,7 +44,7 @@ class GA: def evolve(self): """Runs the ga until the ga is no longer active.""" - while(ga.active()) + while(self.active()): if(self.current_generation == 0): initialize_population()