From 62b0ed6678ae4fdbdb583fa615ad7fdde5c143bc Mon Sep 17 00:00:00 2001 From: Varun Agrawal Date: Fri, 10 Jan 2025 11:11:03 -0500 Subject: [PATCH] change from ifdef to if --- gtsam/linear/tests/testGaussianBayesNet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtsam/linear/tests/testGaussianBayesNet.cpp b/gtsam/linear/tests/testGaussianBayesNet.cpp index 6e4576541..587597cf1 100644 --- a/gtsam/linear/tests/testGaussianBayesNet.cpp +++ b/gtsam/linear/tests/testGaussianBayesNet.cpp @@ -188,7 +188,7 @@ TEST(GaussianBayesNet, sample) { EXPECT_LONGS_EQUAL(2, actual.size()); // regressions -#ifdef __APPLE__ || _WIN32 +#if __APPLE__ || _WIN32 EXPECT(assert_equal(Vector2(20.0129382, 40.0039798), actual[X(1)], 1e-5)); EXPECT(assert_equal(Vector2(110.032083, 230.039811), actual[X(0)], 1e-5)); #elif __linux__