ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / xs / xsimd / disable-test_error_gamma.patch
blob49957ea62ed745e5ca3916b4e50d78f66a8520fc
1 diff --git i/test/test_error_gamma.cpp w/test/test_error_gamma.cpp
2 index 214cbb5..299e5b8 100644
3 --- i/test/test_error_gamma.cpp
4 +++ w/test/test_error_gamma.cpp
5 @@ -131,25 +131,6 @@ struct error_gamma_test
6 INFO("lgamma");
7 CHECK_EQ(diff, 0);
9 -#if !(XSIMD_WITH_AVX && !XSIMD_WITH_AVX2)
11 - // tgamma (negative input)
12 - {
13 - std::transform(gamma_neg_input.cbegin(), gamma_neg_input.cend(), expected.begin(),
14 - [](const value_type& v)
15 - { return std::lgamma(v); });
16 - batch_type in, out;
17 - for (size_t i = 0; i < nb_input; i += size)
18 - {
19 - detail::load_batch(in, gamma_neg_input, i);
20 - out = lgamma(in);
21 - detail::store_batch(out, res, i);
22 - }
23 - size_t diff = detail::get_nb_diff(res, expected);
24 - INFO("lgamma (negative input)");
25 - CHECK_EQ(diff, 0);
26 - }
27 -#endif