DEAP / deap

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

selNSGA3WithMemory fails if passed uniform_reference_points where nobj = 1 #741

Open eirirlar opened 7 months ago

eirirlar commented 7 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))