autoRIFT icon indicating copy to clipboard operation
autoRIFT copied to clipboard

Deprecated numpy functions

Open adehecq opened this issue 9 months ago • 4 comments

Since version 1.24, numpy has deprecated the aliases np.bool and np.int, which are still used at numerous occasions in autorift, leaving the user with an AttributeError. It can be easily fixed by replacing all occurrence of np.bool with bool and np.int with int.

Also np.asscalar has also been removed in version 1.23. I think it can be safely replaced by calling int() instead.

adehecq avatar May 23 '24 15:05 adehecq