From 523c8630d34683054e55d4926971462bfd612446 Mon Sep 17 00:00:00 2001 From: Michael Kaess Date: Thu, 21 Jan 2010 16:09:57 +0000 Subject: [PATCH] works at least on already solved data... --- cpp/ISAM2-inl.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/cpp/ISAM2-inl.h b/cpp/ISAM2-inl.h index f2d92f864..3c4a781d3 100644 --- a/cpp/ISAM2-inl.h +++ b/cpp/ISAM2-inl.h @@ -137,6 +137,12 @@ namespace gtsam { void ISAM2::update_internal(const NonlinearFactorGraph& newFactors, const Config& config, Cliques& orphans, double wildfire_threshold, double relinearize_threshold) { + + + // todo - debug only +// marked_ = nonlinearFactors_.keys(); + + //// 1 - add in new information // add new variables @@ -158,7 +164,7 @@ namespace gtsam { BayesNet affectedBayesNet; this->removeTop(marked_, affectedBayesNet, orphans); - //// 3 - find factors connected to marked variables + //// 3 - find factors connected to affected variables //// 4 - linearize // ordering provides all keys in conditionals, there cannot be others because path to root included