diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2020-05-11 16:59:51 -0500 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2020-05-11 18:42:14 -0500 |
commit | 729b9ca93c43ac3442484929bd52574da8bee4c7 (patch) | |
tree | 21be1742a49d8e2b690cb53f48a2c1973dd61bf6 /numpy/array_api/_array_object.py | |
parent | b5c2f94df50bab697eaa7d9727a4f3b44f89d329 (diff) | |
download | numpy-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