Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed bug at line 1058 in file numpy/lib&npyio_impl.py; in function _…
…read(), called by loadtxt() method, when files are read in chunks to reduce memory overhead, max_rows lines were always loaded every time, also in the case max_rows>_loadtxt_chunksize, in which case it loaded chunks with the wrong size. A test has been added in numpy/lib/tests/test_loadtxt.py, to check for the array size loaded for different max_rows, less and greater than _loadtxt_chunksize.
- Loading branch information