mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-09 14:41:49 +08:00
Do not apply the preconditioner before starting the iterations as this might destroy a very good initial guess.
(grafted from b49ef99617b11404007db283ce68f5dd5b2eff0e )
This commit is contained in:
parent
0321449944
commit
c7331ebb06
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user