[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
dMatrix.cc test failures
From: |
Marco atzeri |
Subject: |
dMatrix.cc test failures |
Date: |
Wed, 24 Aug 2011 00:11:21 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:6.0) Gecko/20110812 Thunderbird/6.0 |
changeset f217edac2c71 "fix dimension check for A'\B (bug #33997)"
introduces the "Mt, rvt2 but forgot to declared as shared
some other tests are failing (on cygwin) for tolerance
proposed change:
diff -r 7aa9cb7aaa32 liboctave/dMatrix.cc
--- a/liboctave/dMatrix.cc Tue Aug 23 14:00:02 2011 -0500
+++ b/liboctave/dMatrix.cc Wed Aug 24 00:02:58 2011 +0200
@@ -3111,7 +3111,7 @@
*/
/* Test some simple identities
-%!shared M, cv, rv
+%!shared M, cv, rv, Mt, rvt
%! M = randn(10,10)+100*eye(10,10);
%! Mt = M';
%! cv = randn(10,1);
@@ -3119,10 +3119,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],1e-14)
-%!assert([rv*M;rv*M],[rv;rv]*M,1e-14)
-%!assert([rv*M';rv*M'],[rv;rv]*M',1e-14)
-%!assert(2*rv*cv,[rv,rv]*[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,Mt\cv,1e-14)
%!assert(M'\rv',Mt\rvt,1e-14)
*/
- dMatrix.cc test failures,
Marco atzeri <=
Re: dMatrix.cc test failures, Tatsuro MATSUOKA, 2011/08/24