Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
varunagrawal committed Oct 8, 2024
1 parent 02d5421 commit 711a07c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gtsam/hybrid/tests/testHybridGaussianFactorGraph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,7 @@ TEST(HybridGaussianFactorGraph, hybridEliminationOneFactor) {
auto factor = std::dynamic_pointer_cast<DecisionTreeFactor>(result.second);
CHECK(factor);
// regression test
// Originally 15.74961, which is normalized to 1
EXPECT(assert_equal(DecisionTreeFactor{m1, "1 1"}, *factor, 1e-5));
EXPECT(assert_equal(DecisionTreeFactor{m1, "15.74961 15.74961"}, *factor, 1e-5));
}

/* ************************************************************************* */
Expand Down

0 comments on commit 711a07c

Please sign in to comment.