Open eriknw opened 2 days ago
Thanks for the report!
Though Numba can work with NumPy 2.0, its semantics are still aligned with NumPy 1.x. The next release, 0.61 is planned to be semantically compatible with NumPy 2.0 (release plans are in https://github.com/numba/numba/issues/9540).
I'll keep this open and label it as a NumPy 2.0 issue so we can track support for this.
Reporting a bug
NumPy 2 changes how
np.sign
handles complex numbers: https://numpy.org/doc/stable/release/2.0.0-notes.html#change-in-how-complex-sign-is-calculatedNumba 0.60 was not updated to match. Here is an illustration: