From b2f629ce3982637a098375c33378c92166f0f01e Mon Sep 17 00:00:00 2001 From: Richard Roberts Date: Thu, 15 Dec 2011 20:23:54 +0000 Subject: [PATCH] Changed default parameter --- gtsam/nonlinear/ISAM2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtsam/nonlinear/ISAM2.h b/gtsam/nonlinear/ISAM2.h index 9f552b7fc..aed6b4ebf 100644 --- a/gtsam/nonlinear/ISAM2.h +++ b/gtsam/nonlinear/ISAM2.h @@ -60,7 +60,7 @@ struct ISAM2DoglegParams { /** Specify parameters as constructor arguments */ ISAM2DoglegParams( double _initialDelta = 1.0, ///< see ISAM2DoglegParams public variables, ISAM2DoglegParams::initialDelta - DoglegOptimizerImpl::TrustRegionAdaptationMode _adaptationMode = DoglegOptimizerImpl::ONE_STEP_PER_ITERATION, ///< see ISAM2DoglegParams public variables, ISAM2DoglegParams::adaptationMode + DoglegOptimizerImpl::TrustRegionAdaptationMode _adaptationMode = DoglegOptimizerImpl::SEARCH_EACH_ITERATION, ///< see ISAM2DoglegParams public variables, ISAM2DoglegParams::adaptationMode bool _verbose = false ///< see ISAM2DoglegParams public variables, ISAM2DoglegParams::verbose ) : initialDelta(_initialDelta), adaptationMode(_adaptationMode), verbose(_verbose) {} };