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
In surrogate.py, in the add_points() method, an AttributeError exception is raised by calling fx.ndim (line 64) when fx is an integer.
Potential solutions:
On line 62, expand type-checking to include integers as well as floats and update comment on line 59 accordingly.
Update documentation here to specify that the eval method must return a float. The comments inside add_points() already reflect this, but the documentation on readthedocs.io does not.
The text was updated successfully, but these errors were encountered:
In
surrogate.py
, in theadd_points()
method, anAttributeError
exception is raised by callingfx.ndim
(line 64) whenfx
is an integer.Potential solutions:
eval
method must return a float. The comments insideadd_points()
already reflect this, but the documentation on readthedocs.io does not.The text was updated successfully, but these errors were encountered: