Use of NumPy type aliases to be removed in NumPy 2.0
lucascolley opened this issue · comments
numpy/numpy#24376 removed some type aliases for NumPy 2.0
In SciPy (through an unusual test we have) we found errors due to the use of numpy.float_
in CuPy. From a brief search I see that there are also uses of numpy.complex_
.
(This shouldn't be failing SciPy's test suite, just putting it on your radar for NumPy 2.0 compat)
Thanks! numpy.float_
and complex_
usages in CuPy are only here:
Lines 64 to 65 in cb4e512
(also used in test code and documentation)