Removed const
parent
441dcec64e
commit
5c4395e812
|
|
@ -143,7 +143,7 @@ void LevenbergMarquardtOptimizer::iterate() {
|
||||||
state_.lambda *= params_.lambdaFactor;
|
state_.lambda *= params_.lambdaFactor;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch(const IndeterminantLinearSystemException& e) {
|
} catch(IndeterminantLinearSystemException& e) {
|
||||||
(void) e; // Prevent unused variable warning
|
(void) e; // Prevent unused variable warning
|
||||||
if(lmVerbosity >= LevenbergMarquardtParams::LAMBDA)
|
if(lmVerbosity >= LevenbergMarquardtParams::LAMBDA)
|
||||||
cout << "Negative matrix, increasing lambda" << endl;
|
cout << "Negative matrix, increasing lambda" << endl;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue