From ea3ca54cbae98685b915384627346f4e5186cac7 Mon Sep 17 00:00:00 2001 From: Richard Roberts Date: Sun, 11 Aug 2013 19:01:06 +0000 Subject: [PATCH] "Fixed" more unit tests --- gtsam_unstable/linear/tests/testBayesTreeOperations.cpp | 1 + gtsam_unstable/slam/tests/testMultiProjectionFactor.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gtsam_unstable/linear/tests/testBayesTreeOperations.cpp b/gtsam_unstable/linear/tests/testBayesTreeOperations.cpp index b0d36c515..64906936a 100644 --- a/gtsam_unstable/linear/tests/testBayesTreeOperations.cpp +++ b/gtsam_unstable/linear/tests/testBayesTreeOperations.cpp @@ -277,6 +277,7 @@ TEST( testBayesTreeOperations, liquefy ) { // Liquefy the tree back into a graph, splitting factors { + CHECK(("*** liquify fails here *** - does not check for null noiseModel", 0)); GaussianFactorGraph actGraph = liquefy(bayesTree, true); GaussianFactorGraph expGraph; diff --git a/gtsam_unstable/slam/tests/testMultiProjectionFactor.cpp b/gtsam_unstable/slam/tests/testMultiProjectionFactor.cpp index 2ef9f2d5f..a0f692e9e 100644 --- a/gtsam_unstable/slam/tests/testMultiProjectionFactor.cpp +++ b/gtsam_unstable/slam/tests/testMultiProjectionFactor.cpp @@ -42,7 +42,7 @@ using namespace gtsam; // make a realistic calibration matrix static double fov = 60; // degrees -static size_t w=640,h=480; +static int w=640,h=480; static Cal3_S2::shared_ptr K(new Cal3_S2(fov,w,h)); // Create a noise model for the pixel error