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 :