diff options
| author | mattip <matti.picus@gmail.com> | 2018-10-29 17:50:10 +0200 |
|---|---|---|
| committer | mattip <matti.picus@gmail.com> | 2018-10-29 17:50:10 +0200 |
| commit | 46452b360d9f67d6af78801a3957688515c617fe (patch) | |
| tree | e3e1f9a9496099425d023160e060a3a890f7fa40 | |
| parent | b8d9543513ee85c8f7af10edf462afd753a166da (diff) | |
| download | numpy-46452b360d9f67d6af78801a3957688515c617fe.tar.gz | |
BUG: always clear floatstatus_invalid in max, min
| -rw-r--r-- | numpy/core/src/umath/loops.c.src | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/core/src/umath/loops.c.src b/numpy/core/src/umath/loops.c.src index 6393e7402..dd7feedc3 100644 --- a/numpy/core/src/umath/loops.c.src +++ b/numpy/core/src/umath/loops.c.src @@ -1846,6 +1846,7 @@ NPY_NO_EXPORT void *((@type@ *)op1) = in1; } } + npy_clear_floatstatus_barrier((char*)dimensions); } /**end repeat1**/ @@ -1871,6 +1872,7 @@ NPY_NO_EXPORT void *((@type@ *)op1) = (npy_isnan(in2) || in1 @OP@ in2) ? in1 : in2; } } + npy_clear_floatstatus_barrier((char*)dimensions); } /**end repeat1**/ @@ -2758,6 +2760,7 @@ NPY_NO_EXPORT void ((@ftype@ *)op1)[0] = in1r; ((@ftype@ *)op1)[1] = in1i; } + npy_clear_floatstatus_barrier((char*)dimensions); } /**end repeat1**/ @@ -2782,6 +2785,7 @@ NPY_NO_EXPORT void ((@ftype@ *)op1)[1] = in2i; } } + npy_clear_floatstatus_barrier((char*)dimensions); } /**end repeat1**/ |
