You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When presented a funciton where ndim cannot be 2 (if dim_changeable=False and default_dim != 2) and ndim=None is given upon initialization, this function makes it so the dimension is set to 2, because the wrong index is given when setting self._ndim = self._bounds.shape[1].
Problem
When presented a funciton where
ndim
cannot be 2 (ifdim_changeable=False
anddefault_dim != 2
) andndim=None
is given upon initialization, this function makes it so the dimension is set to 2, because the wrong index is given when settingself._ndim = self._bounds.shape[1]
.opfunu/opfunu/benchmark.py
Line 84 in 092327e
Possible solution
This should be the first index (
self._bounds.shape[0]
). This is correctly implemented in thecec_based
submoduleThe text was updated successfully, but these errors were encountered: