idies / pyJHTDB

Python wrapper for the Johns Hopkins turbulence database library
Apache License 2.0
96 stars 47 forks source link

Fix Numpy >= 1.24.2 incompatibility #42

Closed ariellubonja closed 1 year ago

ariellubonja commented 1 year ago

Swapped np.int with 'int' as per deprecation notes

chichilalescu commented 1 year ago

if this package is still relevant, perhaps someone should go through the code and enforce the use of np.int32 on the python side and int32_t on the C side for "clib" calls. I don't think I knew to do this properly back when I wrote the original version.