summaryrefslogtreecommitdiff
path: root/numpy/_build_utils/common.py
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2018-01-25 23:38:56 -0800
committerEric Wieser <wieser.eric@gmail.com>2018-01-25 23:38:56 -0800
commit56848bbd2a56209a6ea836fb23e57061825b3052 (patch)
treefacd9d03bad27a263b5f8852fc8433b6ad250c92 /numpy/_build_utils/common.py
parent8a772dd80929aa556c6c01b9025f3c1da0666938 (diff)
downloadnumpy-56848bbd2a56209a6ea836fb23e57061825b3052.tar.gz
BUG: Calling ufuncs with a positional output argument causes the result to inherit the output's mask
This brings `np.add(a, b, out)` in line with `np.add(a, b, out=out)`. These previously differed because gh-10459 causes them to call __array_wrap__ in different ways (with and without the output argument in the context tuple, respectively). Since the data in the `out` argument is never used by ufuncs, it seems consistent that the mask should not be either.
Diffstat (limited to 'numpy/_build_utils/common.py')
0 files changed, 0 insertions, 0 deletions