From c7331ebb067aeb8171bc65e4d3b6b187389d636a Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 21 Aug 2014 22:14:25 +0200 Subject: [PATCH] Do not apply the preconditioner before starting the iterations as this might destroy a very good initial guess. (grafted from b49ef99617b11404007db283ce68f5dd5b2eff0e ) --- Eigen/src/IterativeLinearSolvers/BiCGSTAB.h | 1 - 1 file changed, 1 deletion(-) diff --git a/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h b/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h index 2b9fb7f88..5262c173b 100644 --- a/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h +++ b/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h @@ -39,7 +39,6 @@ bool bicgstab(const MatrixType& mat, const Rhs& rhs, Dest& x, int maxIters = iters; int n = mat.cols(); - x = precond.solve(x); VectorType r = rhs - mat * x; VectorType r0 = r;