BiCGSTAB does not like starting from 0...

This commit is contained in:
Gael Guennebaud 2011-09-21 18:08:08 +02:00
parent c331c092d5
commit b0adbfbae7

View File

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