diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2022-09-09 09:59:29 +0200 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2022-09-09 09:59:29 +0200 |
commit | 3da24bb449c312e51086734cf935c0c661e1f95f (patch) | |
tree | b8f626a9716bc09ac4d1940a1c1046fdb5fd32cf /numpy/array_api/_array_object.py | |
parent | 4a9b7145eb1a0731821eb8912c2474352cadc682 (diff) | |
download | numpy-3da24bb449c312e51086734cf935c0c661e1f95f.tar.gz |
BUG: Fix incorrect refcounting in new `asarray` path
The new path to preserve dtypes provided by creating a view got the
reference counting wrong, because it also hit the incref path that
was needed for returning the identity.
This fixes up gh-21995
Closes gh-22233
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions