Skip to content

Commit

Permalink
Fix wasm return type
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 349675619
  • Loading branch information
jan-wassenberg authored and Copybara-Service committed Dec 31, 2020
1 parent 4b761a3 commit 91e054a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hwy/ops/wasm_128-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -1441,7 +1441,7 @@ HWY_API Vec128<T, N> TableLookupBytes(const Vec128<T, N> bytes,
for (size_t i = 0; i < 16; ++i) {
output[i] = input[control[i]];
}
return Vec128<T>{wasm_v128_load(output)};
return Vec128<T, N>{wasm_v128_load(output)};
}

// ------------------------------ Hard-coded shuffles
Expand Down

0 comments on commit 91e054a

Please sign in to comment.