"Fixed" more unit tests

release/4.3a0
Richard Roberts 2013-08-11 19:01:06 +00:00
parent 84261b38ff
commit ea3ca54cba
2 changed files with 2 additions and 1 deletions

View File

@ -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;

View File

@ -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