summaryrefslogtreecommitdiff
path: root/numpy/array_api/tests/test_elementwise_functions.py
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@gmail.com>2021-01-23 14:16:17 +0100
committerRalf Gommers <ralf.gommers@gmail.com>2021-01-23 17:01:57 +0100
commit768acb7cf856bb49d4d183f8e9cbd456ecc32475 (patch)
tree0585eab99f08fc5ffd00f1606890a630bec7ac9f /numpy/array_api/tests/test_elementwise_functions.py
parent164959a9049c05901dd4a2cc66c07a4df37527c1 (diff)
downloadnumpy-768acb7cf856bb49d4d183f8e9cbd456ecc32475.tar.gz
BUG: shuffling empty array with axis=1 was broken
This would trigger: ``` NotImplementedError: Axis argument is only supported on ndarray objects ``` because empty arrays and array scalars would take the "untyped" path. The bug exists only for Generator, not in RandomState (it doesn't have axis keyword for `shuffle`), but update both because it keeps implementations in sync and the change results in more understandable code also for RandomState.
Diffstat (limited to 'numpy/array_api/tests/test_elementwise_functions.py')
0 files changed, 0 insertions, 0 deletions