Fixed warning

release/4.3a0
Richard Roberts 2013-09-04 14:20:07 +00:00
parent d489f068e7
commit 707b60aaf6
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ namespace gtsam {
// putting orphan subtrees in the index - they'll already be in the index of the ISAM2
// object they're added to.
BOOST_FOREACH(const Key& j, myData.bayesTreeNode->conditional()->frontals())
nodesIndex.insert(std::make_pair(j, myData.bayesTreeNode)).second;
nodesIndex.insert(std::make_pair(j, myData.bayesTreeNode));
// Store remaining factor in parent's gathered factors
if(!eliminationResult.second->empty())