diff --git a/gtsam/hybrid/tests/testHybridSmoother.cpp b/gtsam/hybrid/tests/testHybridSmoother.cpp index 2a3be124e5..145f44d1e6 100644 --- a/gtsam/hybrid/tests/testHybridSmoother.cpp +++ b/gtsam/hybrid/tests/testHybridSmoother.cpp @@ -166,7 +166,7 @@ TEST(HybridSmoother, ValidPruningError) { HybridValues delta = smoother.hybridBayesNet().optimize(); auto errorTree = smoother.hybridBayesNet().errorTree(delta.continuous()); - EXPECT_DOUBLES_EQUAL(0.0, errorTree(delta.discrete()), 1e-8); + EXPECT_DOUBLES_EQUAL(1e-8, errorTree(delta.discrete()), 1e-8); } /* ************************************************************************* */