Mercurial > hg > octave-lojdl
changeset 13000:c85ee092fa6d stable
dMatrix.cc: Increase tolerance for tests which fail on MinGW.
Tests were introduced by changeset f217edac2c71.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Wed, 24 Aug 2011 12:24:41 -0400 |
parents | 12df4a154618 |
children | 98719072ceae |
files | liboctave/dMatrix.cc |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/dMatrix.cc +++ b/liboctave/dMatrix.cc @@ -3118,10 +3118,10 @@ %! rv = randn(1,10); %! rvt = rv'; %!assert([M*cv,M*cv],M*[cv,cv],1e-14) -%!assert([M'*cv,M'*cv],M'*[cv,cv],3e-14) -%!assert([rv*M;rv*M],[rv;rv]*M,3e-14) -%!assert([rv*M';rv*M'],[rv;rv]*M',3e-14) -%!assert(2*rv*cv,[rv,rv]*[cv;cv],3e-14) +%!assert([M'*cv,M'*cv],M'*[cv,cv],1e-13) +%!assert([rv*M;rv*M],[rv;rv]*M,1e-13) +%!assert([rv*M';rv*M'],[rv;rv]*M',1e-13) +%!assert(2*rv*cv,[rv,rv]*[cv;cv],1e-13) %!assert(M'\cv,Mt\cv,1e-14) %!assert(M'\rv',Mt\rvt,1e-14) */