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

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

[Octave-bug-tracker] [bug #47672] patch with struct argument does not su


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #47672] patch with struct argument does not support uppercase letters in fields
Date: Tue, 12 Apr 2016 11:06:41 +0000
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:46.0) Gecko/20100101 Firefox/46.0

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

                 Summary: patch with struct argument does not support
uppercase letters in fields
                 Project: GNU Octave
            Submitted by: mmuetzel
            Submitted on: Di 12 Apr 2016 11:06:40 GMT
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

The function patch supports passing a struct with the fields "faces",
"vertices", and optionally "facevertexcdata".
While it is OK for Matlab to mix uppercase and lowercase letters in this
fieldnames, Octave only works for lowercase only letters.
A minimal example that works in Matlab but fails in Octave:

p.Vertices = [0, 1; 1, 1; 0, 0];
p.Faces = [1 2 3];
hp = patch (p);


I will try and submit a patch for this soon.




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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