Skip to content
This repository was archived by the owner on Oct 22, 2025. It is now read-only.

Commit 3b8e90b

Browse files
committed
increase tolerance
1 parent 7e3e12a commit 3b8e90b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/src/tests/distance/test_edge_edge.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ TEST_CASE(
336336
return smooth_edge3_normal_term(y.head(3), y.segment(3, 3), y.segment(6, 3), y.segment(9, 3), y.segment(12, 3), alpha, beta, otypes);
337337
}, fgrad, fd::AccuracyOrder::SECOND, 1e-6);
338338

339-
CHECK((fgrad - grad).norm() / 1e-7 <= grad.norm());
339+
CHECK((fgrad - grad).norm() / 1e-6 <= grad.norm());
340340

341341
Eigen::MatrixXd fhess;
342342
fd::finite_jacobian(x, [&](const Eigen::VectorXd &y) {

0 commit comments

Comments
 (0)