bugGNU Octave - Bugs: bug #32642, Obscure warnings when accessing...


bug #32642: Obscure warnings when accessing graphics object properties

Submitted by:  Guillaume <gyom>
Submitted on:  Tue 01 Mar 2011 07:44:49 PM UTC  
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  None
Originator Name:  Guillaume Open/Closed:  Closed
Release:  dev Operating System:  GNU/Linux

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Mon 16 May 2011 12:47:06 AM UTC, comment #1: 

Fixed in this changeset (http://hg.savannah.gnu.org/hgweb/octave/rev/69cd5ebe5fb5).  To access the fix you will need to download the development sources from the Mercurial archive and build from scratch.  Instructions for downloading are available here (http://www.gnu.org/software/octave/download.html)

Rik <rik5>
Project Administrator
Tue 01 Mar 2011 07:44:49 PM UTC, original submission:  

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.

Guillaume <gyom>


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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by gyom (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-05-16 rik5 StatusNone => Fixed
        Open/ClosedOpen => Closed

    Back to the top

    Powered by Savane 3.5