Skip to content

Commit

Permalink
Fix error in the example (change == to =)
Browse files Browse the repository at this point in the history
  • Loading branch information
LimHyungTae committed May 2, 2024
1 parent 6f98c3b commit e71de4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/teaser_cpp_fpfh/quatro_cpp_fpfh.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ inline void getParams(const double noise_bound, const std::string reg_type,
if (reg_type == "Quatro") {
params.rotation_estimation_algorithm =
teaser::RobustRegistrationSolver::ROTATION_ESTIMATION_ALGORITHM::QUATRO;
params.inlier_selection_mode == teaser::RobustRegistrationSolver::INLIER_SELECTION_MODE::PMC_HEU;
params.inlier_selection_mode = teaser::RobustRegistrationSolver::INLIER_SELECTION_MODE::PMC_HEU;
} else if (reg_type == "TEASER") {
params.rotation_estimation_algorithm =
teaser::RobustRegistrationSolver::ROTATION_ESTIMATION_ALGORITHM::GNC_TLS;
params.inlier_selection_mode == teaser::RobustRegistrationSolver::INLIER_SELECTION_MODE::PMC_EXACT;
params.inlier_selection_mode = teaser::RobustRegistrationSolver::INLIER_SELECTION_MODE::PMC_EXACT;
} else {
throw std::invalid_argument("Not implemented!");
}
Expand Down

0 comments on commit e71de4d

Please sign in to comment.