added comments

release/4.3a0
Luca 2014-05-02 15:23:19 -04:00
parent f1fb2c09a4
commit c1650f72fd
1 changed files with 1 additions and 4 deletions

View File

@ -275,10 +275,7 @@ void LevenbergMarquardtOptimizer::iterate() {
step_is_successful = modelFidelity > params_.minModelFidelity;
if (lmVerbosity >= LevenbergMarquardtParams::TRYLAMBDA)
cout << "modelFidelity: " << modelFidelity << endl;
}
//else {
// step_is_successful = true; // linearizedCostChange close to zero
//}
} // else we consider the step non successful and we either increase lambda or stop if error change is small
double minAbsoluteTolerance = params_.relativeErrorTol * state_.error;
// if the change is small we terminate