Mercurial > hg > octave-lyh
diff scripts/statistics/tests/cor_test.m @ 5443:ec8c33dcd1bf
[project @ 2005-09-08 01:40:57 by jwe]
author | jwe |
---|---|
date | Thu, 08 Sep 2005 01:40:58 +0000 |
parents | 2a16423e4aa0 |
children | 34f96dd5441b |
line wrap: on
line diff
--- a/scripts/statistics/tests/cor_test.m +++ b/scripts/statistics/tests/cor_test.m @@ -73,13 +73,13 @@ if (nargin < 3) ALTERNATIVE = "!="; - elseif (! isstr (ALTERNATIVE)) + elseif (! ischar (ALTERNATIVE)) error ("cor_test: ALTERNATIVE must be a string"); endif if (nargin < 4) METHOD = "pearson"; - elseif (! isstr (METHOD)) + elseif (! ischar (METHOD)) error ("cor_test: METHOD must be a string"); endif