Kitware / trame-client

Internal client side implementation of trame
MIT License
7 stars 6 forks source link

fix(numpy): remove np.float_ and np.complex_ for compatibility with numpy 2.0 #28

Closed kmarchais closed 4 months ago

kmarchais commented 4 months ago

This PR removes np.float_ and np.complex_ that have been removed in numpy 2.0 (see NumPy release notes).

jourdain commented 4 months ago

Does the change works on old numpy too?

kmarchais commented 4 months ago

I have added a check on the numpy's version to make sure it is still working with old numpy versions.