Skip to content

Commit c8c0496

Browse files
committed
Modified solver matrix type
1 parent 3f077bf commit c8c0496

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/optimization/common.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ VectorX solve_psd_system(const MatrixX& A, const VectorX&b)
1212
#ifdef USE_SUITESPARSE
1313
Eigen::CholmodSupernodalLLT<MatrixX> solver;
1414
#else
15-
Eigen::SimplicialLDLT<MatrixX> solver;
15+
Eigen::SimplicialLDLT<Eigen::SparseMatrix<Scalar>> solver;
1616
#endif
1717

1818
solver.compute(A);

0 commit comments

Comments
 (0)