Small cleanup

release/4.3a0
Richard Roberts 2013-11-12 17:02:46 +00:00
parent 9a1d1f01bc
commit efc5ea8dce
1 changed files with 5 additions and 7 deletions

View File

@ -710,15 +710,13 @@ 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);
}
gttoc(linearize_new);
gttic(augment_VI); gttic(augment_VI);
// Augment the variable index with the new factors // 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); variableIndex_.augment(newFactors);
} gttoc(augment_VI);
gttoc(linearize_new);
gttic(recalculate); gttic(recalculate);
// 8. Redo top of Bayes tree // 8. Redo top of Bayes tree