bugGNU Octave - Bugs: bug #30183, errors in dlmread

 
 

bug #30183: errors in dlmread

Submitted by:  Siep Kroonenberg <siepo>
Submitted on:  Mon 21 Jun 2010 02:49:52 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: 3.2.3Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 22 Jun 2010 05:38:13 AM UTC, comment #1:

Corrected handling of two character indices (AA1,BC2, etc.)

See the following changeset:
http://hg.savannah.gnu.org/hgweb/octave/rev/b8d76f4be94a

Rik <rik5>
Project Administrator
Mon 21 Jun 2010 02:49:52 PM UTC, original submission:

Contents of buggy.csv:
"A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","AA"
0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,,,,,,,6

Result of dlmread ('buggy.csv',',','T1:AA2'):
error: resize: Invalid resizing operation or ambiguous assignment to an out-of-bounds array element.

Result of dlmread ('buggy.csv',',','T1:Z2'):
ans =

0 0 0 0 0 0 0
9 0 0 0 0 0 0

So:
1. `AA' was misinterpreted
2. missing values are translated to blanks

Siep Kroonenberg <siepo>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #20788:  buggy.csv added by siepo (157B - text/csv)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by siepo (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 22 Jun 2010 05:38:13 AM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Mon 21 Jun 2010 02:49:52 PM UTCsiepoAttached File-=>Added buggy.csv, #20788

    Back to the top


    Powered by Savane 3.1-cleanup1