Mercurial > octave
changeset 27483:94d278b130d1
maint: merge stable to default.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 10 Oct 2019 09:13:54 -0700 |
parents | 458adc344819 (current diff) d4ee26280bb9 (diff) |
children | 1dbe2d38673f |
files | libinterp/corefcn/pr-output.cc |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/util/findobj.m Mon Oct 07 14:36:01 2019 -0400 +++ b/scripts/plot/util/findobj.m Thu Oct 10 09:13:54 2019 -0700 @@ -249,8 +249,8 @@ elseif (numel (p.(pname{np})) == numel (pvalue{np})) if (ischar (pvalue{np}) && ischar (p.(pname{np}))) match(nh,np) = strcmpi (pvalue{np}, p.(pname{np})); - elseif (isnumeric (pvalue{np} && isnumeric (p.(pname{np})))) - match(nh,np) = (pvalue{np} == p.(pname{np})); + elseif (isnumeric (pvalue{np}) && isnumeric (p.(pname{np}))) + match(nh,np) = all ((pvalue{np} == p.(pname{np}))(:)); else match(nh,np) = isequal (pvalue{np}, p.(pname{np})); endif