fix tests
parent
64cd58843a
commit
0b11b12760
|
@ -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 {
|
||||
|
|
|
@ -87,7 +87,7 @@ class TestDiscreteConditional(GtsamTestCase):
|
|||
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):
|
||||
|
|
Loading…
Reference in New Issue