Mercurial > octave
changeset 21816:acc95f403d73
Let findobj work with a row vector of handles (bug #48113).
* findobj.m: Convert handles to column vector.
author | mmuetzel <markus.muetzel@gmx.de> |
---|---|
date | Fri, 03 Jun 2016 13:28:21 +0200 |
parents | 418b6066e544 |
children | 7f633f680f68 |
files | scripts/plot/util/findobj.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/util/findobj.m Thu Jun 02 17:58:33 2016 -0400 +++ b/scripts/plot/util/findobj.m Fri Jun 03 13:28:21 2016 +0200 @@ -203,7 +203,7 @@ ## Load all objects which qualify for being searched. idepth = 0; - h = handles; + h = handles(:); while (numel (handles) && ! (idepth >= depth)) children = []; for n = 1 : numel (handles)