fix tests
							parent
							
								
									5c0171b69c
								
							
						
					
					
						commit
						9931e29108
					
				|  | @ -70,7 +70,7 @@ TEST( PCGsolver, verySimpleLinearSystem) { | |||
|   pcg->preconditioner = | ||||
|       std::make_shared<gtsam::BlockJacobiPreconditionerParameters>(); | ||||
|   // It takes more than 1000 iterations for this test
 | ||||
|   pcg->setMaxIterations(1500); | ||||
|   pcg->maxIterations = 1500; | ||||
|   VectorValues deltaPCGJacobi = PCGSolver(*pcg).optimize(simpleGFG); | ||||
| 
 | ||||
|   EXPECT(assert_equal(exactSolution, deltaPCGJacobi, 1e-5)); | ||||
|  |  | |||
|  | @ -48,7 +48,7 @@ static double error(const GaussianFactorGraph& fg, const VectorValues& x) { | |||
| TEST( SubgraphSolver, Parameters ) | ||||
| { | ||||
|   LONGS_EQUAL(SubgraphSolverParameters::SILENT, kParameters.verbosity()); | ||||
|   LONGS_EQUAL(500, kParameters.maxIterations()); | ||||
|   LONGS_EQUAL(500, kParameters.maxIterations); | ||||
| } | ||||
| 
 | ||||
| /* ************************************************************************* */ | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue