Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
varunagrawal committed Jan 16, 2022
1 parent 64cd588 commit 0b11b12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gtsam/slam/slam.i
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace gtsam {
// ######

#include <gtsam/slam/BetweenFactor.h>
template <T = {Vector, gtsam::Point2, gtsam::Point3, gtsam::Rot2, gtsam::SO3,
template <T = {double, Vector, gtsam::Point2, gtsam::Point3, gtsam::Rot2, gtsam::SO3,
gtsam::SO4, gtsam::Rot3, gtsam::Pose2, gtsam::Pose3,
gtsam::imuBias::ConstantBias}>
virtual class BetweenFactor : gtsam::NoiseModelFactor {
Expand Down
2 changes: 1 addition & 1 deletion python/gtsam/tests/test_DiscreteConditional.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 0b11b12

Please sign in to comment.