Skip to content

Commit

Permalink
DOC: mention new comparison runtime warnings in release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
juliantaylor committed Sep 30, 2013
1 parent 410ad54 commit 36606ab
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc/release/1.8.0-notes.rst
Expand Up @@ -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
============
Expand Down

0 comments on commit 36606ab

Please sign in to comment.