Skip to content

Commit

Permalink
Update name
Browse files Browse the repository at this point in the history
  • Loading branch information
jrapin committed Jan 26, 2020
1 parent da0b33e commit f0e3eb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nevergrad/functions/functionlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def __init__(
)
parametrization.set_recombination("average" if recombination == "average" else putils.Crossover())
self._multiobjective = MultiobjectiveFunction(self._multifunc, 2 * self._optimum)
super().__init__(self._multiobjective if multiobjective else self._monofunc, parametrization) # type: ignore
super().__init__(self._multiobjective if multiobjective else self._monofunc, parametrization.set_name("")) # type: ignore
descr = dict(independent_sigma=independent_sigma, mutable_sigma=mutable_sigma,
multiobjective=multiobjective, optimum=optimum, recombination=recombination)
self._descriptors.update(descr)
Expand Down

0 comments on commit f0e3eb9

Please sign in to comment.