Skip to content

Commit 1d0dd83

Browse files
committed
Fix merge
1 parent adead38 commit 1d0dd83

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

test/test_xsimd_api.cpp

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -534,9 +534,17 @@ struct xsimd_api_float_types_functions
534534
}
535535
void test_atan2()
536536
{
537-
value_type val0(0);
538-
value_type val1(1);
539-
CHECK_EQ(extract(xsimd::atan2(T(val0), T(val1))), std::atan2(val0, val1));
537+
{
538+
value_type val0(0);
539+
value_type val1(1);
540+
CHECK_EQ(extract(xsimd::atan2(T(val0), T(val1))), std::atan2(val0, val1));
541+
}
542+
543+
{
544+
value_type val0(1);
545+
value_type val1(0);
546+
CHECK_EQ(extract(xsimd::atan2(T(val0), T(val1))), std::atan2(val0, val1));
547+
}
540548
}
541549
void test_atanh()
542550
{

0 commit comments

Comments
 (0)