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
Since the type of each parameter is thoroughly checked, the check for the parameter type raises an error when numpy array is used. Turns out np.int64 is not a child of int, so we cannot just check that the input is an integer. I've hacked in a fix (also check if the parameter is an instance of np.int64), but there should be a better way to handle these inputs.
This problem also occurs with float and np.float64.
The text was updated successfully, but these errors were encountered:
Since the type of each parameter is thoroughly checked, the check for the parameter type raises an error when numpy array is used. Turns out
np.int64
is not a child ofint
, so we cannot just check that the input is an integer. I've hacked in a fix (also check if the parameter is an instance ofnp.int64
), but there should be a better way to handle these inputs.This problem also occurs with
float
andnp.float64
.The text was updated successfully, but these errors were encountered: