summaryrefslogtreecommitdiff
path: root/doc/release
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2019-02-16 19:11:38 -0800
committerEric Wieser <wieser.eric@gmail.com>2019-02-24 15:47:48 -0800
commit0139a2d118ddfcff5a0139a016be826dbc44854f (patch)
tree12134c51fe8258c58b2a91b37659a7d3cb60391c /doc/release
parent02ae0e3aa5f8f894f5e0496e609e3efe0f49eacd (diff)
downloadnumpy-0139a2d118ddfcff5a0139a016be826dbc44854f.tar.gz
ENH: Improve handling of infinities in np.interp
Alternative to gh-12978, using a method that does not need a lot of special cases. This is likely more robust in the face of overflow Fixes gh-12951.
Diffstat (limited to 'doc/release')
-rw-r--r--doc/release/1.17.0-notes.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/release/1.17.0-notes.rst b/doc/release/1.17.0-notes.rst
index d3a7779c8..b171d1388 100644
--- a/doc/release/1.17.0-notes.rst
+++ b/doc/release/1.17.0-notes.rst
@@ -128,6 +128,12 @@ but with this change, you can do::
thereby saving a level of indentation
+``np.interp`` handles infinities more robustly
+----------------------------------------------
+In some cases where ``np.interp`` would previously return ``np.nan``, it now
+returns an appropriate infinity.
+
+
Changes
=======