boostorg / python

Boost.org python module
http://boostorg.github.io/python
Boost Software License 1.0
465 stars 201 forks source link

Another fix for numpy 2.0 #443

Closed bkpoon closed 1 month ago

bkpoon commented 1 month ago

Compare pointers directly instead of using PyArray_EquivTypes

Fixes #376

stefanseefeld commented 1 month ago

This looks indeed simple enough. Happy to see that this is all it takes. (Please disregard the CI build failures, they are due to a tool bug on OSX... Thanks !