From 88b8f4e16b8ad1475e2c1373e3427bdf936f5cd6 Mon Sep 17 00:00:00 2001 From: Frank Dellaert Date: Thu, 5 Nov 2009 06:34:43 +0000 Subject: [PATCH] fixed unit test --- cpp/testLinearFactorGraph.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cpp/testLinearFactorGraph.cpp b/cpp/testLinearFactorGraph.cpp index aabed4e4f..443061c5b 100644 --- a/cpp/testLinearFactorGraph.cpp +++ b/cpp/testLinearFactorGraph.cpp @@ -403,8 +403,9 @@ TEST( LinearFactorGraph, CONSTRUCTOR_GaussianBayesNet ) // Base FactorGraph only FactorGraph fg3(*CBN); + boost::shared_ptr > dummy; boost::shared_ptr > CBN3 = - fg3.eliminate(ord); + fg3.eliminate(dummy,ord); CHECK(CBN->equals(*CBN3)); }