diff options
author | Gael Guennebaud <g.gael@free.fr> | 2008-08-22 17:48:36 +0000 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2008-08-22 17:48:36 +0000 |
commit | f0394edfa7d063e37256e673cdecacd9f55f44ae (patch) | |
tree | a2e36374f3f51fc74f0d64c403f4368c8ae55d54 /test/inverse.cpp | |
parent | a95c1e190b6963543950f4b7831fcc0b844bd95f (diff) |
* bugfix in SolveTriangular found by Timothy Hunter (did not compiled for very small fixed size matrices)
* bugfix in Dot unroller
* added special random generator for the unit tests and reduced the tolerance threshold by an order of magnitude
this fixes issues with sum.cpp but other tests still failed sometimes, this have to be carefully checked...
Diffstat (limited to 'test/inverse.cpp')
-rw-r--r-- | test/inverse.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/inverse.cpp b/test/inverse.cpp index 9c7c6524c..de6b09621 100644 --- a/test/inverse.cpp +++ b/test/inverse.cpp @@ -37,8 +37,8 @@ template<typename MatrixType> void inverse(const MatrixType& m) typedef typename MatrixType::Scalar Scalar; typedef Matrix<Scalar, MatrixType::ColsAtCompileTime, 1> VectorType; - MatrixType m1 = MatrixType::Random(rows, cols), - m2 = MatrixType::Random(rows, cols), + MatrixType m1 = test_random_matrix<MatrixType>(rows, cols), + m2 = test_random_matrix<MatrixType>(rows, cols), mzero = MatrixType::Zero(rows, cols), identity = MatrixType::Identity(rows, rows); |