GeneticAlgorithmPython
GeneticAlgorithmPython copied to clipboard
Update all numpy.max to numpy.nanmax in pygad.py
Replaced all numpy.max with numpy.nanmax to handle the calculation if nan values somehow get through. The specific line where I encountered this issue is line 3124, however, I also fixed the others for consistency.