diff options
author | Sha Liu <liushapku@users.noreply.github.com> | 2020-01-28 11:30:20 +0800 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2020-01-27 19:30:20 -0800 |
commit | 79eff02e7e2c3b1865ee47fa66ae40f44894cadb (patch) | |
tree | 7a468d5644056d059b9a431983d6ee81e32fd057 /numpy/array_api/_array_object.py | |
parent | f398a0df8a2105b2fdeaeab54505451169b0a869 (diff) | |
download | numpy-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