"Fixed" more unit tests
parent
84261b38ff
commit
ea3ca54cba
|
@ -277,6 +277,7 @@ TEST( testBayesTreeOperations, liquefy ) {
|
||||||
|
|
||||||
// Liquefy the tree back into a graph, splitting factors
|
// 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 actGraph = liquefy(bayesTree, true);
|
||||||
GaussianFactorGraph expGraph;
|
GaussianFactorGraph expGraph;
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@ using namespace gtsam;
|
||||||
|
|
||||||
// make a realistic calibration matrix
|
// make a realistic calibration matrix
|
||||||
static double fov = 60; // degrees
|
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));
|
static Cal3_S2::shared_ptr K(new Cal3_S2(fov,w,h));
|
||||||
|
|
||||||
// Create a noise model for the pixel error
|
// Create a noise model for the pixel error
|
||||||
|
|
Loading…
Reference in New Issue