8000 BUG: detect buggy windows version and raise at import by mattip · Pull Request #17553 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

BUG: detect buggy windows version and raise at import #17553

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix namespace typos
  • Loading branch information
mattip authored Oct 14, 2020
commit a89eb0f58b570b3807969a9c975aecfd086dafb2
4 changes: 2 additions & 2 deletions numpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,9 +362,9 @@ def _win_os_check():
Quick Sanity check for Windows OS: look for fmod bug issue 16744.
"""
try:
a = np.arange(13 * 13, dtype=np.float64).reshape(13, 13)
a = arange(13 * 13, dtype= float64).reshape(13, 13)
a = a % 17 # calls fmod
np.linalg.eig(a)
linalg.eig(a)
except Exception:
msg = ("The current Numpy installation ({!r}) fails to "
"pass a sanity check due to a bug in the windows runtime. "
Expand Down
0