summaryrefslogtreecommitdiff
path: root/ggml-quants.c
diff options
context:
space:
mode:
Diffstat (limited to 'ggml-quants.c')
-rw-r--r--ggml-quants.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ggml-quants.c b/ggml-quants.c
index e0c125d4..9dcb76de 100644
--- a/ggml-quants.c
+++ b/ggml-quants.c
@@ -464,8 +464,8 @@ inline static int8x16_t ggml_vqtbl1q_s8(int8x16_t a, uint8x16_t b) {
}
// NOTE: not tested
-inline static int8x16_t ggml_vqtbl1q_u8(uint8x16_t a, uint8x16_t b) {
- int8x16_t res;
+inline static uint8x16_t ggml_vqtbl1q_u8(uint8x16_t a, uint8x16_t b) {
+ uint8x16_t res;
res[ 0] = a[b[ 0]];
res[ 1] = a[b[ 1]];