bugGNU Octave - Bugs: bug #44610, warning in findobj when using...


bug #44610: warning in findobj when using regexp

Submitter:  Guillaume <gyom>
Submitted:  Mon 23 Mar 2015 05:18:00 PM UTC
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Fixed Assigned to:  None
Originator Name:  Guillaume Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup

Tue 24 Mar 2015 03:57:24 AM UTC, comment #1: 

Fixed in this cset (http://hg.savannah.gnu.org/hgweb/octave/rev/ed53c87050e8).  Thanks for noticing this.

Rik <rik5>
Group administrator
Mon 23 Mar 2015 05:18:00 PM UTC, original submission:  

A warning is displayed when calling findobj with the -regexp option:

>> H=figure;
>> uicontrol(H, 'Style', 'edit','String','hello','Tag','MyTag');
>> findobj(H, '-regexp', 'Tag', 'Tag$')
warning: value not equal to 1 or 0 converted to logical 1
warning: called from
    findobj at line 234 column 30
ans = -172.63

Proposed fix:

match(nh,np) = logical(foo);

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)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.


    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-03-24 rik5 StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code