Skip to content

Commit df19d46

Browse files
committed
test fix
1 parent 58c25df commit df19d46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/tests/test_populations.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ TEST(TestPopulations, convert_floating_point)
269269
mio::Populations<float, TestAgeGroup> pop_float({size_dim1}, value_float);
270270
mio::Populations<float, TestAgeGroup> pop_float2 = pop_float.convert<double>().convert<float>();
271271
for (auto i = mio::Index<TestAgeGroup>(0); i < size_dim1; ++i) {
272-
ASSERT_FLOAT_EQ((pop_float2[i]), value_float);
272+
ASSERT_FLOAT_EQ(pop_float2[i], value_float);
273273
}
274274

275275
// case: double arrays with mixed precision; expect the value to be truncated during conversion to float

0 commit comments

Comments
 (0)