summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/src/umath/simd.inc.src2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/umath/simd.inc.src b/numpy/core/src/umath/simd.inc.src
index d03f4359c..746943097 100644
--- a/numpy/core/src/umath/simd.inc.src
+++ b/numpy/core/src/umath/simd.inc.src
@@ -408,7 +408,7 @@ sse2_@kind@_@TYPE@(@type@ * ip, @type@ * op, const npy_intp n)
/* load the first elements */
@vtype@ c = @vpre@_load_@vsuf@((@type@*)&ip[i]);
#ifdef NO_FLOATING_POINT_SUPPORT
- @vtype@ cnan = @vpre@_or_@vsuf@(@vpre@_cmpneq_@vsuf@(c, c), cnan);
+ @vtype@ cnan = @vpre@_cmpneq_@vsuf@(c, c);
#else
/* minps/minpd will set invalid flag if nan is encountered */
PyUFunc_clearfperr();