diff options
author | Pauli Virtanen <pav@iki.fi> | 2019-10-07 19:57:19 +0300 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2019-10-07 20:01:33 +0300 |
commit | ffb381aa18e93d30099bb97cf58435dd51d88bfa (patch) | |
tree | 54effbdb73cb11ab5488bd3378d76b0e3ddd37b6 /numpy/core/fromnumeric.py | |
parent | b8445583d506aeb9da3897801132279e977b4427 (diff) | |
download | numpy-ffb381aa18e93d30099bb97cf58435dd51d88bfa.tar.gz |
BUG: fix fromfile behavior when reading sub-array dtypes
Restore previous behavior of fromfile, by ensuring the original dtype is
used for reading, instead of the type of the created array which may
have sub-arrays collapsed.
Reverts parts of 454c5b5e9a76809a4ab60bda30aa048ec37ee11e
Diffstat (limited to 'numpy/core/fromnumeric.py')
0 files changed, 0 insertions, 0 deletions