From 4e28eb2ffe9d052132f9daa4e5b0d73dec27bb0a Mon Sep 17 00:00:00 2001 From: ddh0 Date: Sun, 14 Dec 2025 22:11:34 -0600 Subject: [PATCH] format (double) --- src/llama-sampling.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/llama-sampling.cpp b/src/llama-sampling.cpp index 1c1febee2d..f255340837 100644 --- a/src/llama-sampling.cpp +++ b/src/llama-sampling.cpp @@ -2407,7 +2407,7 @@ static void llama_sampler_power_law_apply(struct llama_sampler * smpl, llama_tok // power law transform // - fprintf(stderr, "power-law: transform: cur_p->size = %.3f\n", cur_p->size); + fprintf(stderr, "power-law: transform: cur_p->size = %.3f\n", (double)cur_p->size); for (size_t i = 0; i < cur_p->size; ++i) { float dist = (cur_p->data[i].p - computed_target) * INV_WIDTH; cur_p->data[i].logit = PEAK_LOGIT_VALUE / (1.0f + dist * dist);