diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2015-11-11 15:52:17 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2015-11-11 16:50:11 -0700 |
commit | 59fbef0510c9a24d6f07ce80bb92fc57718ae95f (patch) | |
tree | 266e8c8b6a7c7eecaac8d3467b21217286081bd9 /numpy/core/function_base.py | |
parent | 1d511429ac04d137c3d9ec7da9160bec7baa2829 (diff) | |
download | numpy-59fbef0510c9a24d6f07ce80bb92fc57718ae95f.tar.gz |
BUG: ma.make_mask should always return nomask for nomask argument.
When the mask argument was nomask, commit 8da9c71 changed the behavior
to depend on shrink=True as well, resulting in array(False) false being
returned when shrink=True, which in turn led to bugs because nomask is a
singleton and is detected by `mask is nomask`. That dectection fails
when nomask is replaced by array(False).
Closes #6667.
Diffstat (limited to 'numpy/core/function_base.py')
0 files changed, 0 insertions, 0 deletions