Use GaussianBayesTree typedef

release/4.3a0
Richard Roberts 2012-03-23 03:38:55 +00:00
parent aedf55bad8
commit be553be4f7
2 changed files with 3 additions and 2 deletions

View File

@ -44,7 +44,7 @@ void GaussianMultifrontalSolver::replaceFactors(const FactorGraph<GaussianFactor
}
/* ************************************************************************* */
BayesTree<GaussianConditional>::shared_ptr GaussianMultifrontalSolver::eliminate() const {
GaussianBayesTree::shared_ptr GaussianMultifrontalSolver::eliminate() const {
if (useQR_)
return Base::eliminate(&EliminateQR);
else

View File

@ -18,6 +18,7 @@
#pragma once
#include <gtsam/inference/GenericMultifrontalSolver.h>
#include <gtsam/linear/GaussianBayesTree.h>
#include <gtsam/linear/GaussianJunctionTree.h>
#include <gtsam/linear/VectorValues.h>
@ -86,7 +87,7 @@ public:
* Eliminate the factor graph sequentially. Uses a column elimination tree
* to recursively eliminate.
*/
BayesTree<GaussianConditional>::shared_ptr eliminate() const;
GaussianBayesTree::shared_ptr eliminate() const;
/**
* Compute the least-squares solution of the GaussianFactorGraph. This