MEArec icon indicating copy to clipboard operation
MEArec copied to clipboard

`np.float_` will be hard error in NumPy 2.0

Open zm711 opened this issue 2 years ago • 0 comments

Hey Alessio,

There's one more hard error coming in NumPy 2.0 where np.float_ will no longer be allowed. I didn't want to touch it in this function

https://github.com/SpikeInterface/MEArec/blob/c2f394abf24be1341ba59a2ca0fbadafd05ae383/src/MEArec/tools.py#L769

because you might need to jump through some hoops to keep backward compatibility along with forward compatibility, but just wanted to put it on your radar.

zm711 avatar Sep 22 '23 14:09 zm711