summaryrefslogtreecommitdiff
path: root/numpy/core/setup.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2020-11-24 18:53:11 -0600
committerSebastian Berg <sebastian@sipsolutions.net>2020-11-24 21:33:55 -0600
commit39d2e8b2d81ca0989ab32bfbd234b2cb8dd7cce7 (patch)
treea94fd23ac95d495376bb2d464f65bcaa0c1fc44d /numpy/core/setup.py
parenta9a44e9ac554a7b58804764e9149f38732baccb6 (diff)
downloadnumpy-39d2e8b2d81ca0989ab32bfbd234b2cb8dd7cce7.tar.gz
Last touch-ups (test and tiny fixes)
Lets defer further touch ups to later... One more run, since the last one errored (hopefully due to an old failure not merged correctly)
Diffstat (limited to 'numpy/core/setup.py')
-rw-r--r--numpy/core/setup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py
index 08510fcc8..2b7566c0a 100644
--- a/numpy/core/setup.py
+++ b/numpy/core/setup.py
@@ -24,9 +24,9 @@ NPY_RELAXED_STRIDES_DEBUG = (os.environ.get('NPY_RELAXED_STRIDES_DEBUG', "0") !=
NPY_RELAXED_STRIDES_DEBUG = NPY_RELAXED_STRIDES_DEBUG and NPY_RELAXED_STRIDES_CHECKING
# Set to True to use the new casting implementation as much as implemented.
-# Allows running the full test suit to excercise the new machinery until
+# Allows running the full test suit to exercise the new machinery until
# it is used as default and the old version is eventually deleted.
-NPY_USE_NEW_CASTINGIMPL = os.environ.get('NPY_USE_NEW_CASTINGIMPL', "0") != 0
+NPY_USE_NEW_CASTINGIMPL = os.environ.get('NPY_USE_NEW_CASTINGIMPL', "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