wafo-project / pywafo

Wave Analysis for Fatigue and Oceanography
http://www.maths.lth.se/matstat/wafo/
Other
94 stars 42 forks source link

Fix import pade for scipy>=1.0.0 #45

Closed morbult closed 4 years ago

morbult commented 4 years ago

pade has moved to scipy.interpolate in scipy 1.0.0, both imports kept to not break for scipy<1

davidovitch commented 4 years ago

Thanks! Do you mind adding pade has moved to scipy.interpolate in scipy 1.0.0 just to make it clear why it is done?

morbult commented 4 years ago

Do you mean as a comment in the code?

davidovitch commented 4 years ago

Yes, that would help in this particular case with the readability of the code.

morbult commented 4 years ago

Comment added in this and #46

pbrod commented 4 years ago

Looks good to me. Closing