incremental processing of planarSLAM; bug fix in ISAM2-inl

release/4.3a0
Michael Kaess 2010-01-18 18:13:53 +00:00
parent dfeacb218e
commit 8e3a8f08c8
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ namespace gtsam {
BOOST_FOREACH(sharedClique orphan, orphans) { BOOST_FOREACH(sharedClique orphan, orphans) {
// find the last variable that is not part of the separator // find the last variable that is not part of the separator
string oneTooFar = orphan->separator_.front(); Symbol oneTooFar = orphan->separator_.front();
list<Symbol> keys = orphan->keys(); list<Symbol> keys = orphan->keys();
list<Symbol>::iterator it = find(keys.begin(), keys.end(), oneTooFar); list<Symbol>::iterator it = find(keys.begin(), keys.end(), oneTooFar);
it--; it--;