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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #49546] importdata() fails for textfiles with


From: Lars Kindermann
Subject: [Octave-bug-tracker] [bug #49546] importdata() fails for textfiles with missing values
Date: Sun, 6 Nov 2016 15:54:52 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0

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

                 Summary: importdata() fails for textfiles with missing values
                 Project: GNU Octave
            Submitted by: larskindermann
            Submitted on: Sun 06 Nov 2016 03:54:50 PM GMT
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

For a textfile data.txt containing the lines:


1 2
1


the command importdata("data.log"," ") crashes in current dev:


>> importdata("data.log"," ")
error: fields(2): out of bound 1
error: called from
    importdata>importdata_ascii at line 270 column 12
    importdata at line 132 column 37


while until few days ago (and in 4.0) it used to worked like:


>> importdata("data.log"," ")
ans =

   1   2
   1   0


This breaks a lot of scripts.





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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