octave-bug-tracker
[Top][All Lists]
Advanced

[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


From: Rik
Subject: [Octave-bug-tracker] [bug #42022] dlmread: A(I,J): column index out of bounds; value 2 out of bound 1
Date: Wed, 12 Oct 2016 15:27:38 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #1, bug #42022 (project octave):

What does Matlab do for the same input?

I've checked the code in dlmread.cc and the issue is that dlmread is built to
read only numeric data.  The documentation from Matlab is also clear that the
function is only for numeric data
(http://www.mathworks.com/help/matlab/ref/dlmread.html).

I agree it would be nice to have a better warning message, but it also might
not be worth fixing since this is a corner case and the function is not being
used according to its docstring so all bets are off.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42022>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]