From 7f516394df955bdb92c963aa4602cd37045fc9ec Mon Sep 17 00:00:00 2001 From: Frank Dellaert Date: Thu, 5 Nov 2009 06:30:10 +0000 Subject: [PATCH] Added dummy argument to work around compile conundrum --- cpp/FactorGraph-inl.h | 2 +- cpp/FactorGraph.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/FactorGraph-inl.h b/cpp/FactorGraph-inl.h index 5205d5cd0..74353239a 100644 --- a/cpp/FactorGraph-inl.h +++ b/cpp/FactorGraph-inl.h @@ -249,7 +249,7 @@ boost::shared_ptr FactorGraph::eliminateOne(const std::stri template template boost::shared_ptr > -FactorGraph::eliminate(const Ordering& ordering) +FactorGraph::eliminate(boost::shared_ptr > xxx, const Ordering& ordering) { boost::shared_ptr > bayesNet (new BayesNet()); // empty diff --git a/cpp/FactorGraph.h b/cpp/FactorGraph.h index de0096359..4baff5a58 100644 --- a/cpp/FactorGraph.h +++ b/cpp/FactorGraph.h @@ -124,7 +124,7 @@ namespace gtsam { * ordering, yielding a chordal Bayes net and (partially eliminated) FG */ template - boost::shared_ptr > eliminate(const Ordering& ordering); + boost::shared_ptr > eliminate(boost::shared_ptr > bayesNet, const Ordering& ordering); private: