Added dummy argument to work around compile conundrum

release/4.3a0
Frank Dellaert 2009-11-05 06:30:10 +00:00
parent 06f07420d1
commit 7f516394df
2 changed files with 2 additions and 2 deletions

View File

@ -249,7 +249,7 @@ boost::shared_ptr<Conditional> FactorGraph<Factor>::eliminateOne(const std::stri
template<class Factor>
template<class Conditional>
boost::shared_ptr<BayesNet<Conditional> >
FactorGraph<Factor>::eliminate(const Ordering& ordering)
FactorGraph<Factor>::eliminate(boost::shared_ptr<BayesNet<Conditional> > xxx, const Ordering& ordering)
{
boost::shared_ptr<BayesNet<Conditional> > bayesNet (new BayesNet<Conditional>()); // empty

View File

@ -124,7 +124,7 @@ namespace gtsam {
* ordering, yielding a chordal Bayes net and (partially eliminated) FG
*/
template<class Conditional>
boost::shared_ptr<BayesNet<Conditional> > eliminate(const Ordering& ordering);
boost::shared_ptr<BayesNet<Conditional> > eliminate(boost::shared_ptr<BayesNet<Conditional> > bayesNet, const Ordering& ordering);
private: