pymoo
pymoo copied to clipboard
Division by zero error in indicators.
Reproducible:
Suggestion:
- Try to fix it by adding an exception in https://github.com/anyoptimization/pymoo/blob/9d851f46ea98a209f11044b6bafab2dec17ab53b/pymoo/util/normalization.py#L57-L69
- Try to fix it using epsilon, i.e.
norm[norm==0] = np.finfo(norm.dtype).eps