incremental processing of planarSLAM; bug fix in ISAM2-inl
parent
dfeacb218e
commit
8e3a8f08c8
|
|
@ -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--;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue