Fix test
parent
2b1f51f098
commit
21cb31e519
|
@ -28,7 +28,7 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
using namespace gtsam;
|
using namespace gtsam;
|
||||||
static constexpr bool debug = true;
|
static constexpr bool debug = false;
|
||||||
|
|
||||||
/* ************************************************************************* */
|
/* ************************************************************************* */
|
||||||
struct TestFixture {
|
struct TestFixture {
|
||||||
|
@ -399,8 +399,8 @@ TEST(DiscreteBayesTree, DirectFromCliques) {
|
||||||
// Check that the BayesTree is correct
|
// Check that the BayesTree is correct
|
||||||
DiscreteValues values;
|
DiscreteValues values;
|
||||||
values[A.first] = 1;
|
values[A.first] = 1;
|
||||||
values[A.first] = 1;
|
values[B.first] = 1;
|
||||||
values[A.first] = 1;
|
values[C.first] = 1;
|
||||||
|
|
||||||
// Regression
|
// Regression
|
||||||
double expected = .046875;
|
double expected = .046875;
|
||||||
|
|
Loading…
Reference in New Issue