summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authornjsmith <njs@pobox.com>2013-07-24 12:56:24 -0700
committernjsmith <njs@pobox.com>2013-07-24 12:56:24 -0700
commit756dad2846b3ae531e6ebd94b6c0fe89b48f25c6 (patch)
tree15ef076f57b79c3e52c9a983a2c6b9a2836a8641 /numpy
parent8982c77ade3b28538184c0f72087a2bce5e70162 (diff)
parente6a547b895770e90889d60e9f748d000323a8737 (diff)
downloadnumpy-756dad2846b3ae531e6ebd94b6c0fe89b48f25c6.tar.gz
Merge pull request #3541 from jeromekelleher/patch-1
BUG: make preprocessor tests consistent in halffloat.c
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/src/npymath/halffloat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/npymath/halffloat.c b/numpy/core/src/npymath/halffloat.c
index 3f4aa9782..883830795 100644
--- a/numpy/core/src/npymath/halffloat.c
+++ b/numpy/core/src/npymath/halffloat.c
@@ -137,7 +137,7 @@ npy_half npy_half_nextafter(npy_half x, npy_half y)
ret = x+1;
}
}
-#ifdef NPY_HALF_GENERATE_OVERFLOW
+#if NPY_HALF_GENERATE_OVERFLOW
if (npy_half_isinf(ret)) {
npy_set_floatstatus_overflow();
}