[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #42022] dlmread: A(I,J): column index out of b
[Octave-bug-tracker] [bug #42022] dlmread: A(I,J): column index out of bounds; value 2 out of bound 1
Fri, 14 Oct 2016 14:04:55 +0000 (UTC)
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0
Update of bug #42022 (project octave):
Status: None => Ready For Test
Follow-up Comment #4:
This is what I thought. dlmread in Octave is also coded to expect numeric
input. When you do not specify a delimiter, Octave has to search the file to
find one and it is looking for a pattern of "NUMBER<delimiter>". The file in
this bug report is "TEXT,NUMBER" so Octave finds the end of line character
rather than a delimiter and concludes that there is only one column of data.
We could try relaxing the constraint to be "ANY_TEXT<delimiter>". I don't
know what other effects that might have, although 'make check' still passes.
I made that change here
http://hg.savannah.gnu.org/hgweb/octave/rev/e7699adac1d0. I'm going to mark
this report as Ready for Test, and will leave it open for a while since I'm
not certain that this won't introduce other subtle bugs later.
Reply to this item at:
Message sent via/by Savannah