fix assertion

release/4.3a0
Varun Agrawal 2025-01-21 16:36:55 -05:00
parent 80d8d88fdc
commit a9a1764136
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ TEST(HybridSmoother, ValidPruningError) {
HybridValues delta = smoother.hybridBayesNet().optimize(); HybridValues delta = smoother.hybridBayesNet().optimize();
auto errorTree = smoother.hybridBayesNet().errorTree(delta.continuous()); 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);
} }
/* ************************************************************************* */ /* ************************************************************************* */