Mercurial > hg > octave-lojdl
changeset 7939:18d7171759ff
[mq]: covtest
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Thu, 17 Jul 2008 11:57:56 +0200 |
parents | bf4a04ebff21 |
children | 1bfb88e78027 |
files | scripts/ChangeLog scripts/statistics/base/cov.m |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2008-07-17 Jaroslav Hajek <highegg@gmail.com> + + * statistics/base/cov.m: Fix test that should no longer work. + 2008-07-16 Michael Goffioul <michael.goffioul@gmail.com> * plot/gcbo.m, plot/gcbf.m: New functions.
--- a/scripts/statistics/base/cov.m +++ b/scripts/statistics/base/cov.m @@ -71,7 +71,7 @@ %! x = rand (10); %! cx1 = cov (x); %! cx2 = cov (x, x); -%! assert(size (cx1) == [10, 10] && size (cx2) == [10, 10] && cx1 == cx2); +%! assert(size (cx1) == [10, 10] && size (cx2) == [10, 10] && norm(cx1-cx2) < 1e1*eps); %!error cov ();