diff options
author | Bas van Beek <b.f.van.beek@vu.nl> | 2020-08-11 15:53:55 +0200 |
---|---|---|
committer | Bas van Beek <b.f.van.beek@vu.nl> | 2020-08-11 15:53:55 +0200 |
commit | 7127cdfb8553030ba317455c9f31fe4d7ed74e81 (patch) | |
tree | 77bfded8b13c9e14c5e32e5bdeaa979ad23f68b0 /doc/release | |
parent | 7aced6e57253f6e10960ab33f05229a6f882b094 (diff) | |
download | numpy-7127cdfb8553030ba317455c9f31fe4d7ed74e81.tar.gz |
ENH: Use elementwise comparisons with 0 rather than boolean casting
Diffstat (limited to 'doc/release')
-rw-r--r-- | doc/release/upcoming_changes/16911.deprecation.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/release/upcoming_changes/16911.deprecation.rst b/doc/release/upcoming_changes/16911.deprecation.rst index d4dcb629c..8f38ed989 100644 --- a/doc/release/upcoming_changes/16911.deprecation.rst +++ b/doc/release/upcoming_changes/16911.deprecation.rst @@ -4,4 +4,4 @@ The ``trim_zeros`` function will, in the future, require an array with the following two properties: * It must be 1D. -* It must be convertable into a boolean array. +* It must support elementwise comparisons with zero. |