bugGNU Octave - Bugs: bug #45001, geometry: Proper indexing of cell...

 
 

bug #45001: geometry: Proper indexing of cell array

Submitter:  Rafael Laboissière <rlaboiss>
Submitted:  Sun 03 May 2015 11:12:27 AM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 05 May 2015 11:37:34 AM UTC, comment #2: 

Thanks a lot, I fixed the function.
The bug can be closed.

@carandraug: I am gettign mails from the tracker now. Thanks aynways.

Juan Pablo Carbajal <juanpi>
Group Member
Sun 03 May 2015 04:22:50 PM UTC, comment #1: 

Adding maintainer of package to CC of this bug.

Carnë Draug <carandraug>
Group Member
Sun 03 May 2015 11:12:27 AM UTC, original submission:  

In @svg/plot.m, the cell array returned by fieldnames() should be indexed as a cell array (with "{}") in order to get the field names as strings. Cset attached.

This bug is exposed by a unit test in the package itself:


octave:1> pkg load geometry
octave:2> test @svg/svg
***** test
 dc = svg('drawing6.svg');
 dc.plot();
 dc.plot('color','r','linewidth',2);
!!!!! test failed
dynamic structure field names must be strings


Rafael Laboissière <rlaboiss>

 

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

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by juanpi (Posted a comment)
  • -email is unavailable- added by carandraug (Juan Carbajal - maintainer of geometry package)
  • -email is unavailable- added by rlaboiss (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-05-05 carandraug StatusNone Fixed
        Open/ClosedOpen Closed
    2015-05-03 carandraug Carbon-Copy- Added -email is unavailable-
    2015-05-03 rlaboiss Attached File- Added proper-indexing-of-cell-array.diff, #33885

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code