summaryrefslogtreecommitdiff
path: root/numpy/array_api/_array_object.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastianb@nvidia.com>2022-11-07 12:08:10 +0100
committerSebastian Berg <sebastianb@nvidia.com>2022-11-07 12:08:10 +0100
commitb70a1e995faaf01cbf89cfe1316a7c14570cdbec (patch)
tree581efbb9b638a8d4e1b5ce614ba0c8e65460efc8 /numpy/array_api/_array_object.py
parentfcafb6560e37c948a594dce36d300888148bc599 (diff)
downloadnumpy-b70a1e995faaf01cbf89cfe1316a7c14570cdbec.tar.gz
MAINT: Refactor AxisConcatenator to not use find_common_type
Rather, use `result_type` instead. There are some exceedingly small theoretical changes, since `result_type` currently uses value-inspection logic. `find_common_type` did not, because it pre-dates the value inspection logic. (I.e. in theory, this switches it to value-based promotion, just to partially undo that in NEP 50; although more changes there.) The only place where it is fathomable to matter is if someone is using `np.c_[uint8_arr, -1]` to append 255 to an unsigned integer array.
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions