diff --git a/gtsam/slam/slam.i b/gtsam/slam/slam.i index a0a7329dd8..602b2afe3c 100644 --- a/gtsam/slam/slam.i +++ b/gtsam/slam/slam.i @@ -11,7 +11,7 @@ namespace gtsam { // ###### #include -template virtual class BetweenFactor : gtsam::NoiseModelFactor { diff --git a/python/gtsam/tests/test_DiscreteConditional.py b/python/gtsam/tests/test_DiscreteConditional.py index f46a0e8773..241a5f0be9 100644 --- a/python/gtsam/tests/test_DiscreteConditional.py +++ b/python/gtsam/tests/test_DiscreteConditional.py @@ -87,7 +87,7 @@ def test_marginals(self): pAB = prior * conditional self.gtsamAssertEquals(prior, pAB.marginal(B[0])) - pA = DiscreteConditional(A % "5/4") + pA = DiscreteConditional(A, "5/4") self.gtsamAssertEquals(pA, pAB.marginal(A[0])) def test_markdown(self):