* 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...
This commit is contained in:
Gael Guennebaud
2008-08-22 17:48:36 +00:00
parent a95c1e190b
commit f0394edfa7
14 changed files with 103 additions and 65 deletions

View File

@@ -97,7 +97,8 @@ template<typename MatrixType> void triangular(const MatrixType& m)
void test_triangular()
{
for(int i = 0; i < g_repeat ; i++) {
// triangular(Matrix<float, 1, 1>());
CALL_SUBTEST( triangular(Matrix<float, 1, 1>()) );
CALL_SUBTEST( triangular(Matrix<float, 2, 2>()) );
CALL_SUBTEST( triangular(Matrix3d()) );
CALL_SUBTEST( triangular(MatrixXcf(4, 4)) );
CALL_SUBTEST( triangular(Matrix<std::complex<float>,8, 8>()) );