Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusud committed May 13, 2024
1 parent a1279c5 commit c9acf0b
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ void FilterCameraOutliers(std::vector<sym::Factord>& factors, sym::Valuesd& valu
filtered_factors.push_back(factors[i]);

num_filtered_cameras++;
} else {
spdlog::info("Removing camera outlier: {}", i);
}
}

Expand Down Expand Up @@ -186,7 +184,7 @@ int main(int argc, char** argv) {
auto params = sym::DefaultOptimizerParams();
params.verbose = true;
params.lambda_update_type = sym::lambda_update_type_t::DYNAMIC;
k sym::Optimizerd optimizer{params, std::move(problem.factors)};
sym::Optimizerd optimizer{params, std::move(problem.factors)};
const auto stats = optimizer.Optimize(optimized_values);

spdlog::info("Finished in {} iterations", stats.iterations.size());
Expand Down

0 comments on commit c9acf0b

Please sign in to comment.