Small cleanup
parent
9a1d1f01bc
commit
efc5ea8dce
|
|
@ -710,16 +710,14 @@ ISAM2Result ISAM2::update(
|
||||||
linearFactors_.push_back(*linearFactors);
|
linearFactors_.push_back(*linearFactors);
|
||||||
assert(nonlinearFactors_.size() == linearFactors_.size());
|
assert(nonlinearFactors_.size() == linearFactors_.size());
|
||||||
gttoc(linearize);
|
gttoc(linearize);
|
||||||
|
|
||||||
gttic(augment_VI);
|
|
||||||
// Augment the variable index with the new factors
|
|
||||||
variableIndex_.augment(*linearFactors); // TODO: move this to a better place now
|
|
||||||
gttoc(augment_VI);
|
|
||||||
} else {
|
|
||||||
variableIndex_.augment(newFactors);
|
|
||||||
}
|
}
|
||||||
gttoc(linearize_new);
|
gttoc(linearize_new);
|
||||||
|
|
||||||
|
gttic(augment_VI);
|
||||||
|
// Augment the variable index with the new factors
|
||||||
|
variableIndex_.augment(newFactors);
|
||||||
|
gttoc(augment_VI);
|
||||||
|
|
||||||
gttic(recalculate);
|
gttic(recalculate);
|
||||||
// 8. Redo top of Bayes tree
|
// 8. Redo top of Bayes tree
|
||||||
boost::shared_ptr<FastSet<Key> > replacedKeys;
|
boost::shared_ptr<FastSet<Key> > replacedKeys;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue