From 897b05f318cff6d63a469d7475df35346a6dbcab Mon Sep 17 00:00:00 2001 From: Varun Agrawal Date: Wed, 29 Jan 2025 14:13:33 -0500 Subject: [PATCH] fix scaling --- gtsam/discrete/DiscreteFactorGraph.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/gtsam/discrete/DiscreteFactorGraph.cpp b/gtsam/discrete/DiscreteFactorGraph.cpp index 133182a19..f2bae4b9b 100644 --- a/gtsam/discrete/DiscreteFactorGraph.cpp +++ b/gtsam/discrete/DiscreteFactorGraph.cpp @@ -222,8 +222,6 @@ namespace gtsam { // sum out frontals, this is the factor on the separator gttic(sum); DiscreteFactor::shared_ptr sum = product->sum(frontalKeys); - // Normalize/scale to prevent underflow. - sum = sum->scale(); gttoc(sum); // Normalize/scale to prevent underflow.