Interchange solve and transposeSolve for leftPrecondition and rightPrecondition

release/4.3a0
Sungtae An 2014-12-03 12:30:56 -05:00
parent 08f4c82edc
commit f9d6c3da22
1 changed files with 2 additions and 2 deletions

View File

@ -119,11 +119,11 @@ void GaussianFactorGraphSystem::getb(Vector &b) const {
/**********************************************************************************/
void GaussianFactorGraphSystem::leftPrecondition(const Vector &x, Vector &y) const
{ preconditioner_.transposeSolve(x, y); }
{ preconditioner_.solve(x, y); }
/**********************************************************************************/
void GaussianFactorGraphSystem::rightPrecondition(const Vector &x, Vector &y) const
{ preconditioner_.solve(x, y); }
{ preconditioner_.transposeSolve(x, y); }
/**********************************************************************************/
VectorValues buildVectorValues(const Vector &v,