Commit 58dde55b authored by Pierre Kraemer's avatar Pierre Kraemer

debug linear solver pointer to variable transition

parent 86e9a825
......@@ -189,11 +189,11 @@ void LinearSolver<CoeffType>::solve() {
*x_ = direct_solver_->solve(*b_) ;
} else {
Eigen::ConjugateGradient<Eigen::SparseMatrix<CoeffType> > solver(*A_) ;
*x_ = solver->solve(*b_) ;
*x_ = solver.solve(*b_) ;
}
} else {
Eigen::BiCGSTAB<Eigen::SparseMatrix<CoeffType> > solver(*A_) ;
*x_ = solver->solve(*b_) ;
*x_ = solver.solve(*b_) ;
}
vector_to_variables() ;
transition(CONSTRUCTED, SOLVED) ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment