diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2022-06-07 13:48:17 -0700 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2022-06-07 14:24:36 -0700 |
commit | 703a6fa6ac7f5049bb17726a1ba93f7835bf92ae (patch) | |
tree | 0b833f2929840aebd1e26e0c9c44f95ef476abd7 /numpy/array_api/_statistical_functions.py | |
parent | c7709982c99ee8c3c9d0953dc5be804023417a55 (diff) | |
download | numpy-703a6fa6ac7f5049bb17726a1ba93f7835bf92ae.tar.gz |
BUG: Prevent attempted broadcasting of 0-D output operands in ufuncs
Attempting to broadcast causes crashes when we later check for self
overlap of the output operand (assuming it is 1-D).
But it would also crash if the operation was done, the issue is
not rejecting the broadcasting right-away.
Closes gh-21673
Diffstat (limited to 'numpy/array_api/_statistical_functions.py')
0 files changed, 0 insertions, 0 deletions