Mercurial > hg > octave-lyh
changeset 4900:cf470c996819
[project @ 2004-06-08 15:13:22 by jwe]
author | jwe |
---|---|
date | Tue, 08 Jun 2004 15:13:22 +0000 |
parents | e227982af676 |
children | 35bfb4e0b96b |
files | scripts/ChangeLog scripts/statistics/tests/kolmogorov_smirnov_test.m |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,8 @@ +2004-06-08 John W. Eaton <jwe@octave.org> + + * statistics/tests/kolmogorov_smirnov_test.m: Use func2str to + convert function handle to string for eval. + 2004-06-04 Paul Kienzle <pkienzle@users.sf.net> * plot/errorbar.m: Remove debugging output.
--- a/scripts/statistics/tests/kolmogorov_smirnov_test.m +++ b/scripts/statistics/tests/kolmogorov_smirnov_test.m @@ -78,7 +78,7 @@ args = sprintf ("%s, %g", args, tmp); endif endfor - z = reshape (eval (sprintf ("%s(s%s);", f, args)), 1, n); + z = reshape (eval (sprintf ("%s(s%s);", func2str (f), args)), 1, n); endif if (strcmp (alt, "!=") || strcmp (alt, "<>"))