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
The LennardJones Function has a dim_default of 2, but an ValueError is raised when the dimensionality that is given upon construction is nog in `range(6, 61)
This check is specified right after construction, before setting the default dimensionality. Therefore providing no argument (ndim=None) will raise the ValueError. This is inconsistant with the interface of the other named functions.
The problem
LennardJones
Function has adim_default
of 2, but anValueError
is raised when the dimensionality that is given upon construction is nog in `range(6, 61)ndim=None
) will raise the ValueError. This is inconsistant with the interface of the other named functions.opfunu/opfunu/name_based/l_func.py
Line 113 in 092327e
Minimal reproducible example
will raise:
The text was updated successfully, but these errors were encountered: