summaryrefslogtreecommitdiff
path: root/numpy/array_api/_constants.py
diff options
context:
space:
mode:
authorKevin Sheppard <kevin.k.sheppard@gmail.com>2020-06-05 11:14:46 +0100
committerKevin Sheppard <kevin.k.sheppard@gmail.com>2020-06-05 11:49:00 +0100
commit776189a168f12c8da385a48ab1c381133908fa73 (patch)
treeefddfdde7c90bf69cc02a22056a2ed058f89bc04 /numpy/array_api/_constants.py
parenta5d021a1b6f439a19812926bc4d796ef5f346c44 (diff)
downloadnumpy-776189a168f12c8da385a48ab1c381133908fa73.tar.gz
BUG: Correct broadcasting when size is not None
Broadcastable size with inputs does not produce an error when size produces a smaller output array than the broadcast input shape. Patch checks that the output shape matches the outer shape of the broadcast fo all inputs and the size when given.
Diffstat (limited to 'numpy/array_api/_constants.py')
0 files changed, 0 insertions, 0 deletions