diff --git a/nevergrad/optimization/optimizerlib.py b/nevergrad/optimization/optimizerlib.py index fbcffd5e4..1fc6265e3 100644 --- a/nevergrad/optimization/optimizerlib.py +++ b/nevergrad/optimization/optimizerlib.py @@ -2085,7 +2085,7 @@ def _internal_tell_candidate(self, candidate: p.Parameter, loss: tp.FloatLoss) - self.sigma = np.exp( np.sum( np.log([c._meta["sigma"] for c in self.parents]), - axis=0 if self.isotropic else None, + axis=0 if self.isotropic else None, # type: ignore ) / self.popsize.mu )