summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--k_quants.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/k_quants.c b/k_quants.c
index 8742d4ae..eb702ce8 100644
--- a/k_quants.c
+++ b/k_quants.c
@@ -1089,6 +1089,7 @@ void quantize_row_q6_K_reference(const float * restrict x, block_q6_K * restrict
if (!max_abs_scale) {
memset(&y[i], 0, sizeof(block_q6_K));
y[i].d = ggml_fp32_to_fp16(0.f);
+ x += QK_K;
continue;
}