summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJulian Taylor <jtaylor.debian@googlemail.com>2013-09-30 20:25:03 +0200
committerJulian Taylor <jtaylor.debian@googlemail.com>2013-09-30 21:52:11 +0200
commit399db09c234fde2850891ffff9332f485c368f65 (patch)
tree41c397a831d32d31da555167a64e2180410523d1 /doc
parent74abfa27763f76cbce0ec1a1763f0687e5d8a4c0 (diff)
downloadnumpy-399db09c234fde2850891ffff9332f485c368f65.tar.gz
DOC: mention new comparison runtime warnings in release notes
Diffstat (limited to 'doc')
-rw-r--r--doc/release/1.8.0-notes.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/release/1.8.0-notes.rst b/doc/release/1.8.0-notes.rst
index a8840dd93..fa497e9ed 100644
--- a/doc/release/1.8.0-notes.rst
+++ b/doc/release/1.8.0-notes.rst
@@ -132,6 +132,14 @@ fix changes the returned value. The mirr function called the npv function,
but worked around the problem, so that was also fixed and the return value
of the mirr function remains unchanged.
+Runtime warnings when comparing NaN numbers
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+Comparing ``NaN`` floating point numbers now raises the ``invalid`` runtime
+warning. If a ``NaN`` is expected the warning can be ignored using np.errstate.
+E.g.::
+
+ with np.errstate(invalid='ignore'):
+ operation()
New Features
============