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
When the dtype is not a numeric data type, numpy may raise ZeroDivisionError instead of RuntimeWarning.
/usr/local/lib/python3.11/site-packages/significantdigits/_significantdigits.py:259:
RuntimeWarning: invalid value encountered in divide
return operator(x, y_reshaped)
A solution would be to cast the dtype to a numeric dtype before doing any calculations.
The text was updated successfully, but these errors were encountered:
When the dtype is not a numeric data type, numpy may raise
ZeroDivisionError
instead ofRuntimeWarning
./usr/local/lib/python3.11/site-packages/significantdigits/_significantdigits.py:259
:RuntimeWarning: invalid value encountered in divide
return operator(x, y_reshaped)
A solution would be to cast the dtype to a numeric dtype before doing any calculations.
The text was updated successfully, but these errors were encountered: