Skip to content

Commit

Permalink
Merge pull request #706 from argilo/16i-adjustment
Browse files Browse the repository at this point in the history
Decrease the range for signed 16-bit integer testing
  • Loading branch information
jdemel authored Dec 1, 2023
2 parents 5bc2ded + a5eea5c commit aa6ed1a
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 aa6ed1a

Please sign in to comment.