mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-01-24 14:45:14 +08:00
Really use zero guess in ConjugateGradients::solve as documented
and expected for consistency with other methods.
This commit is contained in:
parent
bb3e5c29cc
commit
a72bf09e6d
@ -224,7 +224,7 @@ public:
|
||||
template<typename Rhs,typename Dest>
|
||||
void _solve(const Rhs& b, Dest& x) const
|
||||
{
|
||||
x.setOnes();
|
||||
x.setZero();
|
||||
_solveWithGuess(b,x);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user