[SciPy-dev] tiny bug in read_array
oliphant at ee.byu.edu
Wed Oct 9 13:15:33 CDT 2002
> Hi! I found a microscopic bug in the function read_array in scipy.io, which
> causes a ValueError when loading array bigger than rowsize.
> If I understood what's going on, the solution seems to be simple:
> line 339 in scipy/io/array_import.py:
> outarr[k].resize((outarr[k].shape + rowsize,colsize))
> should be:
> outarr[k].resize((outarr[k].shape + rowsize,colsize[k]))
Thanks. I do believe you are right.
More information about the Scipy-dev