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

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

[Octave-bug-tracker] [bug #45001] geometry: Proper indexing of cell arra


From: Rafael Laboissiere
Subject: [Octave-bug-tracker] [bug #45001] geometry: Proper indexing of cell array
Date: Sun, 03 May 2015 11:12:29 +0000
User-agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36

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

                 Summary: geometry: Proper indexing of cell array
                 Project: GNU Octave
            Submitted by: rlaboiss
            Submitted on: Sun 03 May 2015 11:12:27 AM GMT
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

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




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 03 May 2015 11:12:27 AM GMT  Name:
proper-indexing-of-cell-array.diff  Size: 1kB   By: rlaboiss

<http://savannah.gnu.org/bugs/download.php?file_id=33885>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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