summaryrefslogtreecommitdiff
path: root/numpy/array_api/_array_object.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2020-05-11 16:59:51 -0500
committerSebastian Berg <sebastian@sipsolutions.net>2020-05-11 18:42:14 -0500
commit729b9ca93c43ac3442484929bd52574da8bee4c7 (patch)
tree21be1742a49d8e2b690cb53f48a2c1973dd61bf6 /numpy/array_api/_array_object.py
parentb5c2f94df50bab697eaa7d9727a4f3b44f89d329 (diff)
downloadnumpy-729b9ca93c43ac3442484929bd52574da8bee4c7.tar.gz
BUG,MAINT: Simplify reduction result creation using reduce axis
The new reduce axis marker for nditer/NpyIter allows to move the allocation logic necessary to allocate the reduction result to the nditer, thus simplifying the logic here. This leads to some other related cleanups of the result initialization. The subok flag was removed, since it was always set to 0 and the iterator rejects subclasses.
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions