diff options
author | Julian Taylor <jtaylor.debian@googlemail.com> | 2013-06-11 18:21:36 +0200 |
---|---|---|
committer | Julian Taylor <jtaylor.debian@googlemail.com> | 2013-06-11 18:21:36 +0200 |
commit | 88b459b7cd009db6f542d6d9e365a0ee311e96be (patch) | |
tree | f5b5abe9180e4eb35df755e1f1ec3253c911b704 /numpy | |
parent | c20531c22e6ddb7f2ccdefbcfc4f67eb1bd4b455 (diff) | |
download | numpy-88b459b7cd009db6f542d6d9e365a0ee311e96be.tar.gz |
MAINT: fix an uninitialized use in the no fenv fallback
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/core/src/umath/simd.inc.src | 2 |
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(); |