summaryrefslogtreecommitdiff
path: root/numpy/array_api/_array_object.py
diff options
context:
space:
mode:
authorSha Liu <liushapku@users.noreply.github.com>2020-01-28 11:30:20 +0800
committerSebastian Berg <sebastian@sipsolutions.net>2020-01-27 19:30:20 -0800
commit79eff02e7e2c3b1865ee47fa66ae40f44894cadb (patch)
tree7a468d5644056d059b9a431983d6ee81e32fd057 /numpy/array_api/_array_object.py
parentf398a0df8a2105b2fdeaeab54505451169b0a869 (diff)
downloadnumpy-79eff02e7e2c3b1865ee47fa66ae40f44894cadb.tar.gz
BUG: np.load does not handle empty array with an empty descr (#15397)
The bug occurs since numpy 1.16. Before that empty descr corresponds to `np.dtype([])`. This fixes the problem by following numpy 1.15's behavior. Closes gh-15396
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions