Skip to content

Commit

Permalink
change from ifdef to if
Browse files Browse the repository at this point in the history
  • Loading branch information
varunagrawal committed Jan 10, 2025
1 parent fbe4ad1 commit 62b0ed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gtsam/linear/tests/testGaussianBayesNet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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__
Expand Down

0 comments on commit 62b0ed6

Please sign in to comment.