This commit is contained in:
danielwilczak101
2020-09-29 20:54:18 -04:00
parent bd76e967ff
commit 5883208c68

View File

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