Switched to parallel elimination

release/4.3a0
Richard Roberts 2013-07-09 17:50:49 +00:00
parent 0847cbe3d8
commit db8fcfaa4f
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ namespace gtsam {
// that contains all of the roots as its children. rootsContainer also stores the remaining
// uneliminated factors passed up from the roots.
EliminationData<This> rootsContainer(0, roots_.size());
treeTraversal::DepthFirstForest(*this, rootsContainer, eliminationPreOrderVisitor<This>,
treeTraversal::DepthFirstForestParallel(*this, rootsContainer, eliminationPreOrderVisitor<This>,
boost::bind(eliminationPostOrderVisitor<This>, _1, _2, function));
// Create BayesTree from roots stored in the dummy BayesTree node.