diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2014-05-06 09:37:38 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2014-05-06 16:24:11 -0600 |
commit | d1422d35d7ad70ebb2c7e41eadd14f27f8cc7e31 (patch) | |
tree | b3fb26e811b785370360bf38e4326cfd47a72218 /tools/test-installed-numpy.py | |
parent | 46c7211cf6bf2f03adadd4d283ecd11e00d80184 (diff) | |
download | numpy-d1422d35d7ad70ebb2c7e41eadd14f27f8cc7e31.tar.gz |
MAINT: Make NPY_RELAXED_STRIDE_CHECKING true by default.
Diffstat (limited to 'tools/test-installed-numpy.py')
-rw-r--r-- | tools/test-installed-numpy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test-installed-numpy.py b/tools/test-installed-numpy.py index 0174e0708..26a50b2fa 100644 --- a/tools/test-installed-numpy.py +++ b/tools/test-installed-numpy.py @@ -38,7 +38,7 @@ import numpy # Check that NPY_RELAXED_STRIDES_CHECKING is active when set. # The same flags check is also used in the tests to switch behavior. -if (os.environ.get('NPY_RELAXED_STRIDES_CHECKING', "0") != "0"): +if (os.environ.get('NPY_RELAXED_STRIDES_CHECKING', "1") != "0"): if not numpy.ones((10, 1), order='C').flags.f_contiguous: print('NPY_RELAXED_STRIDES_CHECKING set, but not active.') sys.exit(1) |