Skip to content

Commit

Permalink
Loosen testBilevelFitProblemGradients() threshold a bit more
Browse files Browse the repository at this point in the history
  • Loading branch information
nickbianco committed Mar 28, 2023
1 parent 9fa58f3 commit 9d96e47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unittests/unit/test_MarkerFitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ bool testBilevelFitProblemGradients(
// This threshold had to get looser after we added the static pose, because it
// makes the loss a bit higher (and therefore gradient finite differencing
// works a tad less well)
const s_t THRESHOLD = 5e-7;
const s_t THRESHOLD = 1e-6;

std::vector<std::pair<dynamics::BodyNode*, Eigen::Vector3s>> markers;
for (auto pair : markersMap)
Expand Down

0 comments on commit 9d96e47

Please sign in to comment.