Skip to content

Commit 0b11b12

Browse files
committed
fix tests
1 parent 64cd588 commit 0b11b12

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gtsam/slam/slam.i

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace gtsam {
1111
// ######
1212

1313
#include <gtsam/slam/BetweenFactor.h>
14-
template <T = {Vector, gtsam::Point2, gtsam::Point3, gtsam::Rot2, gtsam::SO3,
14+
template <T = {double, Vector, gtsam::Point2, gtsam::Point3, gtsam::Rot2, gtsam::SO3,
1515
gtsam::SO4, gtsam::Rot3, gtsam::Pose2, gtsam::Pose3,
1616
gtsam::imuBias::ConstantBias}>
1717
virtual class BetweenFactor : gtsam::NoiseModelFactor {

python/gtsam/tests/test_DiscreteConditional.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def test_marginals(self):
8787
pAB = prior * conditional
8888
self.gtsamAssertEquals(prior, pAB.marginal(B[0]))
8989

90-
pA = DiscreteConditional(A % "5/4")
90+
pA = DiscreteConditional(A, "5/4")
9191
self.gtsamAssertEquals(pA, pAB.marginal(A[0]))
9292

9393
def test_markdown(self):

0 commit comments

Comments
 (0)