[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #44610] warning in findobj when using regexp
From: |
Guillaume |
Subject: |
[Octave-bug-tracker] [bug #44610] warning in findobj when using regexp |
Date: |
Mon, 23 Mar 2015 17:18:01 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0 |
URL:
<http://savannah.gnu.org/bugs/?44610>
Summary: warning in findobj when using regexp
Project: GNU Octave
Submitted by: gyom
Submitted on: Mon 23 Mar 2015 05:18:00 PM GMT
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Other
Status: None
Assigned to: None
Originator Name: Guillaume
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
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);
--
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?44610>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #44610] warning in findobj when using regexp,
Guillaume <=