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

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

[Octave-bug-tracker] [bug #54622] test importdata fails in dev octave wi


From: Rik
Subject: [Octave-bug-tracker] [bug #54622] test importdata fails in dev octave with windows
Date: Fri, 7 Sep 2018 13:24:24 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

Follow-up Comment #35, bug #54622 (project octave):

Catching up with this report.  I made two versions of the data file using
either LF endings or CRLF endings.  dlmread is able to read these correctly on
Windows.


>> data = dlmread ('idata.LF.txt', '\t', 0, 0, "emptyvalue", NA)
data =

     3.1000        Inf         NA
       -Inf        NaN   128.0000

>> data = dlmread ('idata.CRLF.txt', '\t', 0, 0, "emptyvalue", NA)
data =

     3.1000        Inf         NA
       -Inf        NaN   128.0000

>>


I can confirm what I guessed, and what Dan found, which is that the problem
lies after dlmread in the post-processing around NA.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?54622>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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