8000 FMod Bug on Windows · numpy/numpy Wiki · GitHub
[go: up one dir, main page]

Skip to content

FMod Bug on Windows

Wonko der Verständige edited this page Nov 7, 2020 · 13 revisions

There is a Bug with fmod on windows, see https://tinyurl.com/y3dm3h86

To prevent unexpected runtime behavior, opencv contains a Check for this:

try:
    a = arange(13 * 13, dtype= float64).reshape(13, 13)
    a = a % 17  # calls fmod
    linalg.eig(a)
except Exception:
    raise RuntimeError("The current Numpy installation (...) fails to pass a sanity check due to a bug in the windows runtime. ...

See Pull Request https://github.com/numpy/numpy/pull/17553

Workaround

The problem does not show up on 32 Bit Python installations, so consider switching.

Clone this wiki locally
0