Use diagonal damping by default

release/4.3a0
Frank Dellaert 2015-06-11 13:22:38 -07:00
parent 635a2a0792
commit e140538a48
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ public:
LevenbergMarquardtParams() :
lambdaInitial(1e-4), lambdaFactor(2.0), lambdaUpperBound(1e5), lambdaLowerBound(
0.0), verbosityLM(SILENT), minModelFidelity(1e-3),
diagonalDamping(false), reuse_diagonal_(false), useFixedLambdaFactor_(true),
diagonalDamping(true), reuse_diagonal_(false), useFixedLambdaFactor_(true),
min_diagonal_(1e-6), max_diagonal_(1e32) {
}
virtual ~LevenbergMarquardtParams() {