Closed kmarchais closed 4 months ago
This PR removes np.float_ and np.complex_ that have been removed in numpy 2.0 (see NumPy release notes).
np.float_
np.complex_
np.float64
np.complex128
Does the change works on old numpy too?
I have added a check on the numpy's version to make sure it is still working with old numpy versions.
This PR removes
np.float_
andnp.complex_
that have been removed in numpy 2.0 (see NumPy release notes).np.float64
must be used instead ofnp.float_
np.complex128
must be used instead ofnp.complex_