summaryrefslogtreecommitdiff
path: root/numpy/array_api/_array_object.py
diff options
context:
space:
mode:
authorMarten van Kerkwijk <mhvk@astro.utoronto.ca>2019-12-20 19:25:25 -0500
committerMarten van Kerkwijk <mhvk@astro.utoronto.ca>2019-12-20 19:33:00 -0500
commit97a83887da945e884a684b10f8c59eb710b1a26b (patch)
tree80c7c4136e57ff5c592e22820d11b55c1ab3a5d9 /numpy/array_api/_array_object.py
parent190ac3e99015ddded029d8811829da1b48b69b97 (diff)
downloadnumpy-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