aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2014-08-21 22:14:25 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2014-08-21 22:14:25 +0200
commitb49ef99617b11404007db283ce68f5dd5b2eff0e (patch)
tree84c0b3aa61fe6ff6bc8dd183d4503c7793dba977 /Eigen/src/IterativeLinearSolvers/BiCGSTAB.h
parent9c0aa81fbfc4abd0dc297d75305b9d579dad2754 (diff)
Do not apply the preconditioner before starting the iterations as this might destroy a very good initial guess.
Diffstat (limited to 'Eigen/src/IterativeLinearSolvers/BiCGSTAB.h')
-rw-r--r--Eigen/src/IterativeLinearSolvers/BiCGSTAB.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h b/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h
index dc524c225..27824b9d5 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;