# HG changeset patch # User jwe # Date 1086707602 0 # Node ID cf470c996819e47f5d3eb5a83624b0114690882e # Parent e227982af676da11f7b15deb005eb8d53e5dfb05 [project @ 2004-06-08 15:13:22 by jwe] diff -r e227982af676 -r cf470c996819 scripts/ChangeLog --- a/scripts/ChangeLog Tue Jun 08 15:08:51 2004 +0000 +++ b/scripts/ChangeLog Tue Jun 08 15:13:22 2004 +0000 @@ -1,3 +1,8 @@ +2004-06-08 John W. Eaton + + * statistics/tests/kolmogorov_smirnov_test.m: Use func2str to + convert function handle to string for eval. + 2004-06-04 Paul Kienzle * plot/errorbar.m: Remove debugging output. diff -r e227982af676 -r cf470c996819 scripts/statistics/tests/kolmogorov_smirnov_test.m --- a/scripts/statistics/tests/kolmogorov_smirnov_test.m Tue Jun 08 15:08:51 2004 +0000 +++ b/scripts/statistics/tests/kolmogorov_smirnov_test.m Tue Jun 08 15:13:22 2004 +0000 @@ -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, "<>"))