[Top][All Lists]

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

[Octave-bug-tracker] [bug #57779] [octave forge] (geometry) Unit tests i

From: Rafael Laboissiere
Subject: [Octave-bug-tracker] [bug #57779] [octave forge] (geometry) Unit tests in svg.m fail
Date: Sun, 9 Feb 2020 12:24:54 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36


                 Summary: [octave forge] (geometry) Unit tests in svg.m fail
                 Project: GNU Octave
            Submitted by: rlaboiss
            Submitted on: Sun 09 Feb 2020 05:24:52 PM UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Other
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: other
         Discussion Lock: Any
        Operating System: Any



Two unit tests in file @svg/svg.m are not working for 
geometry 4.0.0 and Octave 5.1.0. Here is how to reproduce the bugs:

$ octave-cli -q
octave:1> pkg load geometry
octave:2> dc = svg('drawing6.svg');
octave:3> ids = dc.pathid();
octave:4> P = dc.path2polygon(ids{1});
error: cat: dimension mismatch
error: called from
    cell2mat at line 80 column 11
    shape2polygon at line 34 column 11
    path2polygon at line 26 column 5
    subsref>@<anonymous> at line 30 column 45
    subsref at line 71 column 11
octave:4> dc = svg('drawing6.svg');
octave:5> dc.plot();
error: matrix cannot be indexed with .
error: called from
    plot at line 25 column 7
    plot at line 50 column 7
    subsref>@<anonymous> at line 27 column 37
    subsref at line 69 column 10


Reply to this item at:


  Message sent via Savannah

reply via email to

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