diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2018-10-29 14:49:47 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-29 14:49:47 -0500 |
commit | 96432eafbbdef03232d2f927d6c57c7285dda2f6 (patch) | |
tree | 04cf29c7d43b9c6ec9378c49fc994aec6be39557 /doc | |
parent | 0dc45ecc707766c6983eae9b65e2bf518c487dc7 (diff) | |
parent | 46452b360d9f67d6af78801a3957688515c617fe (diff) | |
download | numpy-96432eafbbdef03232d2f927d6c57c7285dda2f6.tar.gz |
Merge pull request #12236 from mattip/nan-warnings
BUG: maximum, minimum no longer emit warnings on NAN
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release/1.16.0-notes.rst | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/doc/release/1.16.0-notes.rst b/doc/release/1.16.0-notes.rst index a5aa78740..3f2d887fe 100644 --- a/doc/release/1.16.0-notes.rst +++ b/doc/release/1.16.0-notes.rst @@ -288,12 +288,13 @@ if ``np.positive(array)`` raises a ``TypeError``. For ``ndarray`` subclasses that override the default ``__array_ufunc__`` implementation, the ``TypeError`` is passed on. -``maximum`` and ``minimum`` set invalid float status for more dtypes --------------------------------------------------------------------- -Previously only ``float32`` and ``float64`` set invalid float status (by -default emitting a `RuntimeWarning`) when a Nan is encountered in -`numpy.maximum` and `numpy.minimum`. Now ``float16``, ``complex64``, -``complex128`` and ``complex256`` will do so as well. +``maximum`` and ``minimum`` no longer emit warnings +--------------------------------------------------- +As part of code introduced in 1.10, ``float32`` and ``float64`` set invalid +float status when a Nan is encountered in `numpy.maximum` and `numpy.minimum`, +when using SSE2 semantics. This caused a `RuntimeWarning` to sometimes be +emitted. In 1.15 we fixed the inconsistencies which caused the warnings to +become more conspicuous. Now no warnings will be emitted. Umath and multiarray c-extension modules merged into a single module -------------------------------------------------------------------- |