From: Clayton Smith Date: Fri, 8 Dec 2023 19:02:12 +0000 (-0500) Subject: [PATCH 2/6] Allow for rounding error in volk_32fc_s32f_magnitude_16i X-Git-Tag: archive/raspbian/3.1.0-3+rpi1^2~10 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3a5ca7a5e6c5fb9d3720797e01a10d97305c25fe;p=volk.git [PATCH 2/6] Allow for rounding error in volk_32fc_s32f_magnitude_16i Signed-off-by: Clayton Smith Gbp-Pq: Name 0002-Allow-for-rounding-error-in-volk_32fc_s32f_magnitude.patch --- diff --git a/lib/kernel_tests.h b/lib/kernel_tests.h index 0f59de1..ab85423 100644 --- a/lib/kernel_tests.h +++ b/lib/kernel_tests.h @@ -113,7 +113,7 @@ std::vector init_test_list(volk_test_params_t test_params) QA(VOLK_INIT_TEST(volk_32fc_index_max_32u, test_params)) QA(VOLK_INIT_TEST(volk_32fc_index_min_16u, test_params)) QA(VOLK_INIT_TEST(volk_32fc_index_min_32u, test_params)) - QA(VOLK_INIT_TEST(volk_32fc_s32f_magnitude_16i, test_params)) + QA(VOLK_INIT_TEST(volk_32fc_s32f_magnitude_16i, test_params.make_tol(1))) QA(VOLK_INIT_TEST(volk_32fc_magnitude_32f, test_params_inacc_tenth)) QA(VOLK_INIT_TEST(volk_32fc_magnitude_squared_32f, test_params)) QA(VOLK_INIT_TEST(volk_32fc_x2_add_32fc, test_params))