diff --git a/gtsam/linear/tests/testGaussianBayesNet.cpp b/gtsam/linear/tests/testGaussianBayesNet.cpp index 6e45765410..587597cf14 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__