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

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

[Octave-bug-tracker] [bug #32642] Obscure warnings when accessing graphi


From: Guillaume
Subject: [Octave-bug-tracker] [bug #32642] Obscure warnings when accessing graphics object properties
Date: Tue, 01 Mar 2011 19:44:49 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.2.13) Gecko/20101203 SUSE/3.6.13-0.2.1 Firefox/3.6.13

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

                 Summary: Obscure warnings when accessing graphics object
properties
                 Project: GNU Octave
            Submitted by: gyom
            Submitted on: Tue 01 Mar 2011 19:44:49 GMT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: Guillaume
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

If a graphics object handle is empty, trying to access a property displays a
warning that might be confusing:


octave> a=[]
a = [](0x0)
octave> get(a,'x')
warning: implicit conversion from matrix to real vector
ans = [](0x0)
octave> get([],'x')
warning: implicit conversion from null_matrix to real vector
ans = [](0x0)


Silently returning an empty matrix seems enough.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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