summaryrefslogtreecommitdiff
path: root/numpy/array_api/_elementwise_functions.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2021-12-07 14:55:59 -0600
committerSebastian Berg <sebastian@sipsolutions.net>2021-12-07 14:55:59 -0600
commitb60c577befc16177850c08030d79356710271789 (patch)
tree8bd2f22dd31d45d312285588ccdb9bd797eeeca9 /numpy/array_api/_elementwise_functions.py
parente76052fc852e957f141c2c8090a59753f163a0b8 (diff)
downloadnumpy-b60c577befc16177850c08030d79356710271789.tar.gz
BUG: Fixup rare reducelike cast causing rejection of a valid loop
If byte-swapping occurred, this would lead to identity checks failing. Maybe it will be easier to just not be as strict in the reduce code, but for now fix-up the resolver to ensure identity for reducelike operations (when possible). Also fixes potential decref of uninitialized values.
Diffstat (limited to 'numpy/array_api/_elementwise_functions.py')
0 files changed, 0 insertions, 0 deletions