Skip to content

Commit 08e62df

Browse files
authored
Fix static_assert syntax in astronomy_test.cpp
1 parent a4c19b5 commit 08e62df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/static/astronomy_test.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ using mp_units::astronomy::unit_symbols::a;
3333

3434
// time units
3535
static_assert(1 * D == 86'400 * s);
36-
static_assert(10'000 * D_sid, 861'640'905 * s));
37-
static_assert(100 * a, 36525 * D));
38-
static_assert(1 * a, 31'557'600 * s));
36+
static_assert(10'000 * D_sid == 861'640'905 * s));
37+
static_assert(100 * a == 36525 * D));
38+
static_assert(1 * a == 31'557'600 * s));
3939
static_assert(approx_equal(1. * a_trop, 365.242189 * D));
4040
static_assert(1 * c == 100 * a);
4141
static_assert(1 * ka == 1000 * a);

0 commit comments

Comments
 (0)