Revert changes to verbosity
parent
aee494a24f
commit
4333f9a186
|
|
@ -246,9 +246,7 @@ class GTSAM_EXPORT GncOptimizer {
|
||||||
prev_cost = cost;
|
prev_cost = cost;
|
||||||
|
|
||||||
// display info
|
// display info
|
||||||
if (params_.verbosity >= GncParameters::Verbosity::SUMMARY) {
|
if (params_.verbosity >= GncParameters::Verbosity::VALUES) {
|
||||||
std::cout << "iter: " << iter << std::endl;
|
|
||||||
std::cout << "mu: " << mu << std::endl;
|
|
||||||
std::cout << "previous cost: " << prev_cost << std::endl;
|
std::cout << "previous cost: " << prev_cost << std::endl;
|
||||||
std::cout << "current cost: " << cost << std::endl;
|
std::cout << "current cost: " << cost << std::endl;
|
||||||
}
|
}
|
||||||
|
|
@ -257,7 +255,9 @@ class GTSAM_EXPORT GncOptimizer {
|
||||||
if (params_.verbosity >= GncParameters::Verbosity::SUMMARY) {
|
if (params_.verbosity >= GncParameters::Verbosity::SUMMARY) {
|
||||||
std::cout << "final iterations: " << iter << std::endl;
|
std::cout << "final iterations: " << iter << std::endl;
|
||||||
std::cout << "final mu: " << mu << std::endl;
|
std::cout << "final mu: " << mu << std::endl;
|
||||||
std::cout << "final cost: " << cost << std::endl;
|
std::cout << "final weights: " << weights_ << std::endl;
|
||||||
|
std::cout << "previous cost: " << prev_cost << std::endl;
|
||||||
|
std::cout << "current cost: " << cost << std::endl;
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue