From 7610b1acb7591401a305266e55dae483ff183837 Mon Sep 17 00:00:00 2001 From: Alex Cunningham Date: Sat, 9 Oct 2010 03:09:54 +0000 Subject: [PATCH] fixed function spelling error --- linear/GaussianJunctionTree.cpp | 6 +++--- linear/GaussianJunctionTree.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/linear/GaussianJunctionTree.cpp b/linear/GaussianJunctionTree.cpp index e1568acf2..cad2d325b 100644 --- a/linear/GaussianJunctionTree.cpp +++ b/linear/GaussianJunctionTree.cpp @@ -25,7 +25,7 @@ namespace gtsam { /** * GaussianJunctionTree */ - void GaussianJunctionTree::btreeBackSubstitue(const boost::shared_ptr& current, VectorConfig& config) const { + void GaussianJunctionTree::btreeBackSubstitute(const boost::shared_ptr& current, VectorConfig& config) const { // solve the bayes net in the current node GaussianBayesNet::const_reverse_iterator it = current->rbegin(); for (; it!=current->rend(); ++it) { @@ -35,7 +35,7 @@ namespace gtsam { // solve the bayes nets in the child nodes BOOST_FOREACH(const BayesTree::sharedClique& child, current->children()) { - btreeBackSubstitue(child, config); + btreeBackSubstitute(child, config); } } @@ -67,7 +67,7 @@ namespace gtsam { // back-substitution tic("GJT optimize 3: back-substitute"); - btreeBackSubstitue(rootClique, result); + btreeBackSubstitute(rootClique, result); toc("GJT optimize 3: back-substitute"); return result; } diff --git a/linear/GaussianJunctionTree.h b/linear/GaussianJunctionTree.h index cb2251c52..7f045586a 100644 --- a/linear/GaussianJunctionTree.h +++ b/linear/GaussianJunctionTree.h @@ -1,4 +1,4 @@ -/* +/** * GaussianJunctionTree.h * Created on: Jul 12, 2010 * @author Kai Ni @@ -25,7 +25,7 @@ namespace gtsam { protected: // back-substitute in topological sort order (parents first) - void btreeBackSubstitue(const boost::shared_ptr& current, VectorConfig& config) const; + void btreeBackSubstitute(const boost::shared_ptr& current, VectorConfig& config) const; public :