Registered Member
|
Dear all,
I got a compiling error: 2>f:\shannon\pracinventory\blukcloneinclude\eigeninclude\eigen\src/SparseCore/SparseBlock.h(291) : error C2039: 'THIS_METHOD_IS_ONLY_FOR_ROW_MAJOR_MATRICES' : is not a member of 'Eigen::internal::static_assertion<condition>' with the code below. HELP! Thanks, //computing and solving the problem. Eigen::SimplicialLDLT<Eigen::SparseMatrix<double> > solver; solver.compute(mat); if(solver.info()!=Eigen::Success) { // decomposition failed return; } Eigen::VectorXd factors = solver.solve(_b); if(solver.info()!=Eigen::Success) { // solving failed return; } else { ; } |
Registered Member
|
Dear all,
my problem was resolved. It was caused by A = A + A.transpose(); According to the tutorial, we should use B = SparseMatrix<double>(A.transpose()) + A; |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]