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: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #42022] dlmread: A(I,J): column index out of bounds; value 2 out of bound 1
Date: Tue, 01 Apr 2014 19:48:38 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:25.0) Gecko/20100101 Firefox/25.0 SeaMonkey/2.22.1

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

                 Summary: dlmread: A(I,J): column index out of bounds; value 2
out of bound 1
                 Project: GNU Octave
            Submitted by: philipnienhuis
            Submitted on: Tue 01 Apr 2014 09:48:38 PM CEST
                Category: Libraries
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Philip Nienhuis
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

While trying to fix importdata.m (see bug #41630) I hit some errors with
dlmread.

File imp3.txt:

aaaa,11
bbbb, 
cccc,33

(note trailing space on line 2 after comma)

>> dlmread ('imp3.txt', '', 0, 1, 'emptyvalue', NaN)
error: dlmread: A(I,J): column index out of bounds; value 2 out of bound 1


The bug is that dlmread shouldn't error out but rather emit a sensible error
message.





    _______________________________________________________

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]