Skip to content
Snippets Groups Projects
Commit da2b7e45 authored by Noam Zerah's avatar Noam Zerah
Browse files

second push

parent 376f9007
No related branches found
No related tags found
No related merge requests found
Pipeline #66022 failed
......@@ -38,7 +38,7 @@ void bitshift_contiguous_arrays(
for (std::size_t i = 0; i < output1size; ++i) {
const std::size_t idx1 = (input1size != 1) ? i : 0;
const std::size_t idx2 = (input2size != 1) ? i : 0;
output[i] = ((value >> (shift - 1)) + 1) >> 1;
output[i] = ((input_1[idx1] >> (input_2[idx2] - 1)) + 1) >> 1;
}
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment