Skip to content

Commit e75ccdc

Browse files
committed
Disabled lgamma tests with negative inputs for AVX without AVX2
1 parent e7a0f96 commit e75ccdc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test_error_gamma.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ class error_gamma_test : public testing::Test
120120
size_t diff = detail::get_nb_diff(res, expected);
121121
EXPECT_EQ(diff, 0) << print_function_name("lgamma");
122122
}
123+
#if not (XSIMD_WITH_AVX and not XSIMD_WITH_AVX2)
123124
// tgamma (negative input)
124125
{
125126
std::transform(gamma_neg_input.cbegin(), gamma_neg_input.cend(), expected.begin(),
@@ -134,6 +135,7 @@ class error_gamma_test : public testing::Test
134135
size_t diff = detail::get_nb_diff(res, expected);
135136
EXPECT_EQ(diff, 0) << print_function_name("lgamma (negative input)");
136137
}
138+
#endif
137139
}
138140
};
139141

0 commit comments

Comments
 (0)