Skip to content

Commit

Permalink
Decrease the range for signed 16-bit integer testing
Browse files Browse the repository at this point in the history
Signed-off-by: Clayton Smith <[email protected]>
  • Loading branch information
argilo committed Nov 11, 2023
1 parent 56a893c commit a5eea5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/qa_utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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<int16_t> uniform_dist(-7, 7);
std::uniform_int_distribution<int16_t> uniform_dist(-6, 6);
for (unsigned int i = 0; i < n; i++)
((int16_t*)data)[i] = uniform_dist(rnd_engine);
} else {
Expand Down

0 comments on commit a5eea5c

Please sign in to comment.