diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2022-06-09 12:34:20 -0700 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2022-06-15 11:42:02 -0700 |
commit | 983277185ea595880697e9289796c527be28aab3 (patch) | |
tree | b493cf9bfa819f963f1427208eae1a787f247af2 /numpy/array_api/setup.py | |
parent | c66e6314f041653e2b289c03a09333ba5b4fd45a (diff) | |
download | numpy-983277185ea595880697e9289796c527be28aab3.tar.gz |
BUG: Fix broken weak promotion (including legacy ones) and make it more robust
It seems that the (weird and probably non-existing in practice) case
of uint8 vs. int8 promotion when the input is a single integer was
broken at some point and this fixes it again.
This is only really relevant for rational, which defines only a very
selective number of integer promotions.
This fixes up the previous chunk that relaxes promotion fallbacks a lot
for legacy dtypes.
Diffstat (limited to 'numpy/array_api/setup.py')
0 files changed, 0 insertions, 0 deletions