Mercurial > hg > octave-nkf
changeset 19420:4122df73e374
Change lscov test to take care roundoff differences
author | Doug Stewart <doug.dastew@gmail.com |
---|---|
date | Mon, 06 Oct 2014 11:54:07 -0400 |
parents | 7315760b9045 |
children | cfa9996afcbf |
files | scripts/statistics/base/lscov.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/statistics/base/lscov.m +++ b/scripts/statistics/base/lscov.m @@ -171,7 +171,7 @@ %! assert(mseg, 0.0019, 1E-4); %! y2 = [y 2*y]; %! [b2, se_b2, mse2, S2] = lscov (X, y2); -%! assert(b2, [b 2*b]) +%! assert(b2, [b 2*b], eps) %! assert(se_b2, [se_b 2*se_b]) %! assert(mse2, [mse 4*mse]) %! assert(S2(:, :, 1), S)