Closed vaknin closed 2 years ago
There's currently a bug where if the population size is 1, neat will raise a ZeroDivisionError exception.
Adding the following check to 'species.py' fixes that: if len(population) > 1:
if len(population) > 1:
In addition, changing the config parameter in 'reproduction.py' from 2 to 1.
There's currently a bug where if the population size is 1, neat will raise a ZeroDivisionError exception.
Adding the following check to 'species.py' fixes that:
if len(population) > 1:
In addition, changing the config parameter in 'reproduction.py' from 2 to 1.