Commits

Gael Guennebaud committed 8cb0f58

fix compilation when defaulting to row major

  • Participants
  • Parent commits e00a988

Comments (0)

Files changed (1)

unsupported/test/sparse_llt.cpp

       // with multiple rhs
       ref_X = refMat3.template selfadjointView<Lower>().llt().solve(B);
 
+      #ifndef EIGEN_DEFAULT_TO_ROW_MAJOR
+      // TODO make sure the API is properly documented about this fact
       X = CholmodDecomposition<SparseMatrix<Scalar>, Lower>(m3).solve(B);
       VERIFY(ref_X.isApprox(X,test_precision<Scalar>()) && "LLT: cholmod solve, multiple dense rhs");
       
       X = CholmodDecomposition<SparseMatrix<Scalar>, Upper>(m3).solve(B);
       VERIFY(ref_X.isApprox(X,test_precision<Scalar>()) && "LLT: cholmod solve, multiple dense rhs");
+      #endif
       
       
       // with a sparse rhs