wesleybowman / UTide

Python distribution of the MatLab package UTide
MIT License
126 stars 64 forks source link

warning with last version of numpy #89

Closed ltestut closed 3 years ago

ltestut commented 3 years ago

When updating with the last numpy version '1.20.0rc2' I've got a error message from Utide utide\harmonics.py:184: RuntimeWarning: invalid value encountered in fmod np.fmod(V, 1, out=V) It is not critical yet, and it works, but in the futur ...

efiring commented 3 years ago

Was this triggered by the test suite?

ltestut commented 3 years ago

No it was not trigered by the test suite. I solve the issue when I downgrade numpy to version 1.19.5

efiring commented 3 years ago

Please supply a minimal but complete example that causes the warning to be generated.