diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2021-12-07 14:55:59 -0600 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2021-12-07 14:55:59 -0600 |
commit | b60c577befc16177850c08030d79356710271789 (patch) | |
tree | 8bd2f22dd31d45d312285588ccdb9bd797eeeca9 /numpy/array_api/_elementwise_functions.py | |
parent | e76052fc852e957f141c2c8090a59753f163a0b8 (diff) | |
download | numpy-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