mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-08 09:49:03 +08:00
BiCGSTAB does not like starting from 0...
This commit is contained in:
parent
c331c092d5
commit
b0adbfbae7
@ -243,7 +243,7 @@ struct solve_retval<BiCGSTAB<_MatrixType, _Preconditioner>, Rhs>
|
||||
|
||||
template<typename Dest> void evalTo(Dest& dst) const
|
||||
{
|
||||
dst.setZero();
|
||||
dst.setOnes();
|
||||
dec()._solve(rhs(),dst);
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user