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
Sorry, this was fixed in #346 long before you raised the PR, the problem was getting a review and merging it. This should be fixed in 1.0.0 which was just released
There is an issue with this file:
ConfigSpace/hyperparameters/uniform_float.pyx:124
: TypeError: Expected float, got numpy.float64It occurs when attempting to create a
UniformFloatHyperparameter
with or without passing a default value.I think the issue is casting to float before rounding instead of doing the opposite.
Original code:
default_value = np.round(float(default_value), 10)
Suggested fix:
default_value = float(np.round(default_value, 10))
Python version: 3.11.9
configspace: 0.7.2
Note: the error does not exist when using Python v3.9.19 with configspace v0.6.1
The text was updated successfully, but these errors were encountered: