DEAP / deap

Distributed Evolutionary Algorithms in Python
http://deap.readthedocs.org/
GNU Lesser General Public License v3.0
5.87k stars 1.13k forks source link

selNSGA3WithMemory fails if passed uniform_reference_points where nobj = 1 #741

Open eirirlar opened 9 months ago

eirirlar commented 9 months ago
ref_points = tools.uniform_reference_points(nobj=1, p=12) # this fails
#ref_points = tools.uniform_reference_points(nobj=7, p=12) # this is fine
toolbox.register("select", tools.selNSGA3WithMemory(ref_points))