# HG changeset patch # User jwe # Date 1095997858 0 # Node ID 5d1e2102d44731d38f42559ecb18c48efba73cec # Parent 160365410ad4b0e2d3045d226d2db897379bd167 [project @ 2004-09-24 03:50:58 by jwe] diff -r 160365410ad4 -r 5d1e2102d447 scripts/ChangeLog --- a/scripts/ChangeLog Fri Sep 24 03:22:24 2004 +0000 +++ b/scripts/ChangeLog Fri Sep 24 03:50:58 2004 +0000 @@ -1,3 +1,8 @@ +2004-09-23 John W. Eaton + + * strings/strcmp.m: If args are not strings or cell arrays of + strings, return zero instead of reporting an error. + 2004-09-22 Federico Zenith * control/base/analdemo.m, control/base/are.m, control/base/bddemo.m, diff -r 160365410ad4 -r 5d1e2102d447 scripts/strings/strcmp.m --- a/scripts/strings/strcmp.m Fri Sep 24 03:22:24 2004 +0000 +++ b/scripts/strings/strcmp.m Fri Sep 24 03:50:58 2004 +0000 @@ -139,11 +139,7 @@ else error ("strcmp: nonconformant cell arrays"); endif - else - error ("strcmp: expecting args to be strings or cell arrays of strings"); endif - else - error ("strcmp: expecting args to be strings or cell arrays of strings"); endif endfunction