From 957c967d0c186b09e61a1bcac40b3661d37b8beb Mon Sep 17 00:00:00 2001 From: Frank Dellaert Date: Thu, 30 Jan 2025 00:02:34 -0500 Subject: [PATCH] remove old remnant --- .../hybrid/tests/testHybridGaussianConditional.cpp | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/gtsam/hybrid/tests/testHybridGaussianConditional.cpp b/gtsam/hybrid/tests/testHybridGaussianConditional.cpp index 032be5a78..88a4fa485 100644 --- a/gtsam/hybrid/tests/testHybridGaussianConditional.cpp +++ b/gtsam/hybrid/tests/testHybridGaussianConditional.cpp @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include @@ -304,18 +305,6 @@ TEST(HybridGaussianConditional, Prune) { } } -/* ************************************************************************* */ - -#include - -// Helper function to apply discrete values to the tree -auto choose(auto tree, const DiscreteValues &discreteValues) { - for (const auto &[key, value] : discreteValues) { - tree = tree.choose(key, value); - } - return tree; -} - /* ************************************************************************* * This test verifies the behavior of the restrict method in different * scenarios: