Skip to content

Commit 72fc7d9

Browse files
author
Fernando Alvarruiz
committed
Use a consistent output type for "valcomp" in struct2hdl.m (bug #67217).
* struct2hdl.m (valcomp): Use false instead of 0 as return value.
1 parent c5fb4d9 commit 72fc7d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/plot/util/struct2hdl.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ function setprops (s, h, p, hilev)
770770
if (isfloat (x) && isscalar (x))
771771
out = any (x == hdls);
772772
else
773-
out = 0;
773+
out = false;
774774
endif
775775

776776
endfunction

0 commit comments

Comments
 (0)