Build fails with numpy 2.0 SWIG API
The build on my system was failing due to a bunch of PyArray_<SOMETHING> was not declared in this scope
errors.
I think that they were renamed in the new version of the numpy SWIG API, or the arguments of PyArray_SimpleNewFromData
was changed (ref).
For me, 28d22519 fixes it, but I'm not sure it is the right way to do it, since I have zero experience with SWIG. Can anyone review?
Thanks!