diff --git a/unsupported/test/sparse_llt.cpp b/unsupported/test/sparse_llt.cpp index 2fcd8b279..df198cd52 100644 --- a/unsupported/test/sparse_llt.cpp +++ b/unsupported/test/sparse_llt.cpp @@ -102,11 +102,14 @@ template void sparse_llt(int rows, int cols) // with multiple rhs ref_X = refMat3.template selfadjointView().llt().solve(B); + #ifndef EIGEN_DEFAULT_TO_ROW_MAJOR + // TODO make sure the API is properly documented about this fact X = CholmodDecomposition, Lower>(m3).solve(B); VERIFY(ref_X.isApprox(X,test_precision()) && "LLT: cholmod solve, multiple dense rhs"); X = CholmodDecomposition, Upper>(m3).solve(B); VERIFY(ref_X.isApprox(X,test_precision()) && "LLT: cholmod solve, multiple dense rhs"); + #endif // with a sparse rhs