From a5eea5c07944359c5721239540f85fa7f3bf8a28 Mon Sep 17 00:00:00 2001 From: Clayton Smith Date: Fri, 10 Nov 2023 19:27:52 -0500 Subject: [PATCH] Decrease the range for signed 16-bit integer testing Signed-off-by: Clayton Smith --- lib/qa_utils.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/qa_utils.cc b/lib/qa_utils.cc index 4be7b8ad..2a86e3dc 100644 --- a/lib/qa_utils.cc +++ b/lib/qa_utils.cc @@ -84,7 +84,7 @@ void load_random_data(void* data, volk_type_t type, unsigned int n) break; case 2: if (type.is_signed) { - std::uniform_int_distribution uniform_dist(-7, 7); + std::uniform_int_distribution uniform_dist(-6, 6); for (unsigned int i = 0; i < n; i++) ((int16_t*)data)[i] = uniform_dist(rnd_engine); } else {