reservoirpy / reservoirpy

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

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

Open FrankwaP opened 1 month ago

FrankwaP commented 1 month 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 1 month 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.