diff options
author | Marten van Kerkwijk <mhvk@astro.utoronto.ca> | 2018-03-27 15:40:46 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-27 15:40:46 -0400 |
commit | bea761424753c0612a65a6a91d44f9a81bdc4c12 (patch) | |
tree | 56213b3278642768df325127c27caf561d1cdf40 /doc/release/1.15.0-notes.rst | |
parent | a2d19a8ca931fc183ad8cfb4f18bd826134e9773 (diff) | |
parent | 093c308fcc4249d8a0f1336827d8eb9ad1e7d274 (diff) | |
download | python-numpy-bea761424753c0612a65a6a91d44f9a81bdc4c12.tar.gz python-numpy-bea761424753c0612a65a6a91d44f9a81bdc4c12.tar.bz2 python-numpy-bea761424753c0612a65a6a91d44f9a81bdc4c12.zip |
Merge pull request #10619 from eric-wieser/fix-notmasked_contiguousv1.15.0upstream-git
BUG: np.ma.flatnotmasked_contiguous behaves differently on mask=nomask and mask=zeros
Diffstat (limited to 'doc/release/1.15.0-notes.rst')
-rw-r--r-- | doc/release/1.15.0-notes.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/release/1.15.0-notes.rst b/doc/release/1.15.0-notes.rst index fadce7684..6e4ef7eed 100644 --- a/doc/release/1.15.0-notes.rst +++ b/doc/release/1.15.0-notes.rst @@ -46,6 +46,15 @@ Future Changes Compatibility notes =================== +``np.ma.notmasked_contiguous`` and ``np.ma.flatnotmasked_contiguous`` always return lists +----------------------------------------------------------------------------------------- +This was always the documented behavior, but in reality the result used to be +any of slice, None, or list. + +All downstream users seem to use detect the `None` result from +``flatnotmasked_contiguous`` and replace it with ``[]``. +These callers will continue to work as before. + C API changes ============= |