diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2022-06-28 01:06:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-28 11:06:26 +0300 |
commit | 6ac7142eedf3edd4e5432b8756ea0b0f6d869998 (patch) | |
tree | 38d52899b630ea2470742257752f011e8b7b33cd /numpy/array_api/_array_object.py | |
parent | a2caa35dd9f2dae9f492a1af9faa1619e4fcce02 (diff) | |
download | numpy-6ac7142eedf3edd4e5432b8756ea0b0f6d869998.tar.gz |
BUG: Reject non integer array-likes with size 1 in delete (#21857)
Non integer array-likes were not correctly rejected when a new
fast-path was added to `np.delete` in gh-16895.
This includes the _explicitly_ added `dtype=object` which should
not be allowed since it is not allowed in normal indexing either.
Closes gh-21840
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions