From db8fcfaa4fa79330363c56a0c6e45d7eaec2b0a5 Mon Sep 17 00:00:00 2001 From: Richard Roberts Date: Tue, 9 Jul 2013 17:50:49 +0000 Subject: [PATCH] Switched to parallel elimination --- gtsam/inference/JunctionTreeUnordered-inst.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtsam/inference/JunctionTreeUnordered-inst.h b/gtsam/inference/JunctionTreeUnordered-inst.h index 24c608821..de61a3792 100644 --- a/gtsam/inference/JunctionTreeUnordered-inst.h +++ b/gtsam/inference/JunctionTreeUnordered-inst.h @@ -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 rootsContainer(0, roots_.size()); - treeTraversal::DepthFirstForest(*this, rootsContainer, eliminationPreOrderVisitor, + treeTraversal::DepthFirstForestParallel(*this, rootsContainer, eliminationPreOrderVisitor, boost::bind(eliminationPostOrderVisitor, _1, _2, function)); // Create BayesTree from roots stored in the dummy BayesTree node.