summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2023-03-17 06:30:37 +1100
committerGitHub <noreply@github.com>2023-03-17 06:30:37 +1100
commit21d9807fe52e42f72068f9f7629a8503a9fdb92f (patch)
treeae4bdcfc030716a3a4fa0a1aa4af468616358a2f
parente1953d126c618c727081dbd4fa727172c2ab078d (diff)
downloadnumpy-21d9807fe52e42f72068f9f7629a8503a9fdb92f.tar.gz
DOC: update release note
Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net>
-rw-r--r--doc/release/upcoming_changes/23403.expired.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/release/upcoming_changes/23403.expired.rst b/doc/release/upcoming_changes/23403.expired.rst
index 1e6d84627..b099eb4e9 100644
--- a/doc/release/upcoming_changes/23403.expired.rst
+++ b/doc/release/upcoming_changes/23403.expired.rst
@@ -1,2 +1,4 @@
-* Remove deprecated ``casting=None`` from ``np.clip``. The behaviour was
- deprecated in NumPy 1.17.
+* ``np.clip`` now defaults to same-kind casting. Falling back to
+ unsafe casting was deprecated in NumPy 1.17.
+* ``np.clip`` will now propagate ``np.nan`` values passed as ``min`` or ``max``.
+ Previously, a scalar NaN was usually ignored. This was deprecated in NumPy 1.17.