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
An OverflowError was encountered while running the base.py script, where an attempt was made to generate the indices_multi NumPy array with type np.uint8 that included negative values. This behavior was observed to differ from that of NumPy version 1.22.4, Python 3.9.12, where the same operation was executed without issue.
Describe the problem:
An
OverflowError
was encountered while running the base.py script, where an attempt was made to generate theindices_multi
NumPy array with typenp.uint8
that included negative values. This behavior was observed to differ from that of NumPy version 1.22.4, Python 3.9.12, where the same operation was executed without issue.Code that reproduces the bug:
Traceback error:
Package versions:
python: 3.9.20
fanpy: 1.0.0
numpy: 2.0.2
Additonal comments
This issue appears to be related to the change in promotion rules for Python scalars in NumPy arrays between version 1.x and 2.x.
The text was updated successfully, but these errors were encountered: