From 438bead4fdf1a04ab598c29fa1846436510d9dca Mon Sep 17 00:00:00 2001 From: Varun Agrawal Date: Thu, 9 Jan 2025 10:45:23 -0500 Subject: [PATCH] small cleanup --- gtsam/hybrid/tests/testHybridBayesNet.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gtsam/hybrid/tests/testHybridBayesNet.cpp b/gtsam/hybrid/tests/testHybridBayesNet.cpp index c313708f43..784d9c95f6 100644 --- a/gtsam/hybrid/tests/testHybridBayesNet.cpp +++ b/gtsam/hybrid/tests/testHybridBayesNet.cpp @@ -557,11 +557,7 @@ TEST(HybridBayesNet, Sampling) { double discrete_sum = std::accumulate(discrete_samples.begin(), discrete_samples.end(), decltype(discrete_samples)::value_type(0)); -#if __APPLE__ || _WIN32 - EXPECT_DOUBLES_EQUAL(0.477, discrete_sum / num_samples, 1e-9); -#elif __linux__ EXPECT_DOUBLES_EQUAL(0.477, discrete_sum / num_samples, 1e-9); -#endif VectorValues expected; // regression for specific RNG seed