Skip to content

Commit

Permalink
MAINT: play with parameters.
Browse files Browse the repository at this point in the history
  • Loading branch information
oddkiva committed Apr 29, 2024
1 parent a9b2955 commit b5bfb7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/test/Sara/RANSAC/test_ransac_p3p.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ BOOST_AUTO_TEST_CASE(test_ransac_with_p3p_solver)
point_ray_pairs.y = sara::TensorView_<double, 2>{
const_cast<double*>(Yc.data()), {Yc.cols(), Yc.rows()}};
const auto [pose, inliers, sample_best] = sara::v2::ransac(
point_ray_pairs, p3p_solver, p3p_inlier_predicate, 10, 0.99);
point_ray_pairs, p3p_solver, p3p_inlier_predicate, 100, 0.99);

// The estimation should be perfect.
BOOST_CHECK(inliers.flat_array().count() == Xw.cols());
Expand Down

0 comments on commit b5bfb7e

Please sign in to comment.