Change to real test

release/4.3a0
Frank Dellaert 2023-01-01 11:47:24 -05:00
parent 4cb03b303b
commit 7ab4c3e3fb
1 changed files with 2 additions and 2 deletions

View File

@ -638,9 +638,9 @@ TEST(HybridGaussianFactorGraph, SumFrontals) {
GaussianMixture::Sum expected{
M(0),
{GaussianFactorGraph(std::vector<GF>{mixture->factor(d0), prior}),
-0.225791 /* regression */},
mixture->constant(d0)},
{GaussianFactorGraph(std::vector<GF>{mixture->factor(d1), prior}),
-2.01755 /* regression */}};
mixture->constant(d1)}};
EXPECT(assert_equal(expected(d0), sum(d0), 1e-5));
EXPECT(assert_equal(expected(d1), sum(d1), 1e-5));