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 [4]: x=ak.array([0,1])
In [5]: x//0Out[5]: array([00])
In [6]: x.to_ndarray() //0<ipython-input-6-a666e56723de>:1: RuntimeWarning: dividebyzeroencounteredinfloor_dividex.to_ndarray() //0
I have a fix for this, which throws a RuntimeWarning like numpy, comma however ... it causes all of the arctan2 tests to fail. Apparently those have been relying on our ignoring divide by zero errors.
Activity
drculhane commentedon Dec 11, 2025
I have a fix for this, which throws a RuntimeWarning like numpy, comma however ... it causes all of the arctan2 tests to fail. Apparently those have been relying on our ignoring divide by zero errors.
Adds runtime warning on divide-by-zero, fixes use of "out" and "where…
Adds runtime warning on divide-by-zero. (#5315)