Merged in blechta/eigen/fix-cg-zero-guess (pull request PR-100)

Really use zero guess in ConjugateGradient::solve as documented
This commit is contained in:
Gael Guennebaud 2015-03-04 11:42:25 +01:00
commit 500c36de61

View File

@ -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);
}