BUG: np.ceil
/np.floor
fails when specified dtype
is int
#26988
Labels
np.ceil
/np.floor
fails when specified dtype
is int
#26988
Uh oh!
There was an error while loading. Please reload this page.
Describe the issue:
When using
np.ceil
ornp.floor
, you cannot specify an integer return dtype.Reproduce the code example:
Error message:
TypeError: No loop matching the specified signature and casting was found for ufunc floor
Python and NumPy Versions:
python 3.11.7
numpy 2.0.0
The text was updated successfully, but these errors were encountered: