summaryrefslogtreecommitdiff
path: root/numpy/core/setup.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2014-05-06 09:37:38 -0600
committerCharles Harris <charlesr.harris@gmail.com>2014-05-06 16:24:11 -0600
commitd1422d35d7ad70ebb2c7e41eadd14f27f8cc7e31 (patch)
treeb3fb26e811b785370360bf38e4326cfd47a72218 /numpy/core/setup.py
parent46c7211cf6bf2f03adadd4d283ecd11e00d80184 (diff)
downloadnumpy-d1422d35d7ad70ebb2c7e41eadd14f27f8cc7e31.tar.gz
MAINT: Make NPY_RELAXED_STRIDE_CHECKING true by default.
Diffstat (limited to 'numpy/core/setup.py')
-rw-r--r--numpy/core/setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py
index 3cde96d77..3502f1221 100644
--- a/numpy/core/setup.py
+++ b/numpy/core/setup.py
@@ -19,7 +19,7 @@ from setup_common import *
ENABLE_SEPARATE_COMPILATION = (os.environ.get('NPY_SEPARATE_COMPILATION', "1") != "0")
# Set to True to enable relaxed strides checking. This (mostly) means
# that `strides[dim]` is ignored if `shape[dim] == 1` when setting flags.
-NPY_RELAXED_STRIDES_CHECKING = (os.environ.get('NPY_RELAXED_STRIDES_CHECKING', "0") != "0")
+NPY_RELAXED_STRIDES_CHECKING = (os.environ.get('NPY_RELAXED_STRIDES_CHECKING', "1") != "0")
# XXX: ugly, we use a class to avoid calling twice some expensive functions in
# config.h/numpyconfig.h. I don't see a better way because distutils force