mhostetter / galois

A performant NumPy extension for Galois fields and their applications
https://mhostetter.github.io/galois/
MIT License
321 stars 29 forks source link

Support for numpy v1.25 #491

Closed iyanmv closed 11 months ago

iyanmv commented 1 year ago

All tests pass on numpy 1.25 with numba 0.57.1 compiled with this patch, which should be included in numba 0.58. Tested both with the latest release and master branch.

But there are some deprecation warnings because of this change in numpy.

DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)

Easy to fix, I will open a PR later today 😉

mhostetter commented 11 months ago

Support for NumPy 1.25 added in v0.3.6.