diff options
author | Marten van Kerkwijk <mhvk@astro.utoronto.ca> | 2019-12-20 19:25:25 -0500 |
---|---|---|
committer | Marten van Kerkwijk <mhvk@astro.utoronto.ca> | 2019-12-20 19:33:00 -0500 |
commit | 97a83887da945e884a684b10f8c59eb710b1a26b (patch) | |
tree | 80c7c4136e57ff5c592e22820d11b55c1ab3a5d9 /numpy/array_api/_array_object.py | |
parent | 190ac3e99015ddded029d8811829da1b48b69b97 (diff) | |
download | numpy-97a83887da945e884a684b10f8c59eb710b1a26b.tar.gz |
BUG: ensure reduction output matches input along non-reduction axes.
Previously, things like
`np.add.reduce(np.ones((3, 3)), axis=0, out=np.empty(1))`
worked, even though the output should have shape (3,).
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions