diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2017-08-01 17:40:56 +0000 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2017-08-05 21:50:05 -0500 |
commit | fb004f8bc610b0cf52342d35314a9e0a0434e745 (patch) | |
tree | 8de75b4b5dcd1db1f6356c65701b7c1a6c47a2e7 /numpy/lib/_iotools.py | |
parent | 6a119c982463097aebc8d004fc731b424721a650 (diff) | |
download | numpy-fb004f8bc610b0cf52342d35314a9e0a0434e745.tar.gz |
MAINT: Stop using the undocumented coercion-then-downcast feature of subdtype
Diffstat (limited to 'numpy/lib/_iotools.py')
-rw-r--r-- | numpy/lib/_iotools.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/_iotools.py b/numpy/lib/_iotools.py index 304bba3d3..1874c2e97 100644 --- a/numpy/lib/_iotools.py +++ b/numpy/lib/_iotools.py @@ -527,7 +527,7 @@ class StringConverter(object): _mapper.append((nx.int64, int, -1)) _mapper.extend([(nx.floating, float, nx.nan), - (complex, _bytes_to_complex, nx.nan + 0j), + (nx.complexfloating, _bytes_to_complex, nx.nan + 0j), (nx.longdouble, nx.longdouble, nx.nan), (nx.string_, bytes, b'???')]) |