From 75b2599e829e4db84777c7e5763e74c0506605f7 Mon Sep 17 00:00:00 2001 From: Varun Agrawal Date: Mon, 3 Oct 2022 17:31:53 -0400 Subject: [PATCH] remove unnecessary comments --- gtsam/hybrid/HybridGaussianFactorGraph.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gtsam/hybrid/HybridGaussianFactorGraph.cpp b/gtsam/hybrid/HybridGaussianFactorGraph.cpp index d8881cc2a..6f48f2176 100644 --- a/gtsam/hybrid/HybridGaussianFactorGraph.cpp +++ b/gtsam/hybrid/HybridGaussianFactorGraph.cpp @@ -285,11 +285,8 @@ hybridElimination(const HybridGaussianFactorGraph &factors, // If there are no more continuous parents, then we should create here a // DiscreteFactor, with the error for each discrete choice. - // frontalKeys.print(); - // separatorFactors.print("", GTDKeyFormatter, [](const GaussianFactor::shared_ptr &factor) { factor->print(); return "";}); - // std::cout << "=====================================" << std::endl; if (keysOfSeparator.empty()) { - VectorValues empty_values; //TODO(Varun) Shouldn't this be from the optimized leaf? + VectorValues empty_values; auto factorError = [&](const GaussianFactor::shared_ptr &factor) { if (!factor) return 0.0; // TODO(fan): does this make sense? return exp(-factor->error(empty_values));