pyxem / orix

Analysing crystal orientations and symmetry in Python
https://orix.readthedocs.io
GNU General Public License v3.0
80 stars 48 forks source link

Numpy 2.0.0 Fixes #483

Closed CSSFrancis closed 5 months ago

CSSFrancis commented 5 months ago

Description of the change

Running: ruff orix/ --select NPY201 --preview

orix/quaternion/symmetry.py:420:40: NPY201 [*] `np.infty` will be removed in NumPy 2.0. Use `numpy.inf` instead.
Found 1 error.
CSSFrancis commented 5 months ago

@pc494 Just a note I checked both diffsims and pyxem and they appear to be good