reservoirpy / reservoirpy

A simple and flexible code for Reservoir Computing architectures like Echo State Networks
MIT License
415 stars 97 forks source link

"array.ptp()" deprecated in numpy 2.0 ("np.ptp(array)" must be use) #169

Open FrankwaP opened 1 week ago

FrankwaP commented 1 week ago

Bonjour :-)

I think there are two options:

I have forked and applied the second fix (to avoid messing with my environment) and it works… so I can make a PR if you wish.

PAUL-BERNARD commented 5 days ago

Thank you for your issue! This has been fixed as this failed the GH Actions tests.

forcing "numpy > 2" in the requirements It shouldn't be necessary, as numpy.ptp has been there for a long time.