When handling negative values in optmizer.get_index_roulette_wheel_selection, probably due to a typo, the boolean value is being compared to be less than zero np.any(list_fitness) < 0, instead of np.any(list_fitness < 0)
✅ Checks
[x] My pull request adheres to the code style of this project
Closes #139
📑 Description
When handling negative values in
optmizer.get_index_roulette_wheel_selection
, probably due to a typo, the boolean value is being compared to be less than zeronp.any(list_fitness) < 0
, instead ofnp.any(list_fitness < 0)
✅ Checks