fix python test

release/4.3a0
Varun Agrawal 2022-06-02 09:20:43 -04:00
parent 932e65c7a2
commit 2afa6781f8
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class TestHybridGaussianFactorGraph(GtsamTestCase):
self.assertEqual(hbn.size(), 2)
mixture = hbn.at(0).inner()
self.assertIsInstance(mixture, gtsam.GaussianMixtureConditional)
self.assertIsInstance(mixture, gtsam.GaussianMixture)
self.assertEqual(len(mixture.keys()), 2)
discrete_conditional = hbn.at(hbn.size() - 1).inner()