fixed function spelling error

release/4.3a0
Alex Cunningham 2010-10-09 03:09:54 +00:00
parent 76f400232f
commit 7610b1acb7
2 changed files with 5 additions and 5 deletions

View File

@ -25,7 +25,7 @@ namespace gtsam {
/**
* GaussianJunctionTree
*/
void GaussianJunctionTree::btreeBackSubstitue(const boost::shared_ptr<const BayesTree::Clique>& current, VectorConfig& config) const {
void GaussianJunctionTree::btreeBackSubstitute(const boost::shared_ptr<const BayesTree::Clique>& 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;
}

View File

@ -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<const BayesTree::Clique>& current, VectorConfig& config) const;
void btreeBackSubstitute(const boost::shared_ptr<const BayesTree::Clique>& current, VectorConfig& config) const;
public :