From 92a42bac3dc61dde21d479551e5957dd2e5851b4 Mon Sep 17 00:00:00 2001 From: Ed Addario Date: Tue, 28 Oct 2025 23:06:29 +0000 Subject: [PATCH] Type refactoring --- tools/imatrix/imatrix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/imatrix/imatrix.cpp b/tools/imatrix/imatrix.cpp index 1900c37ac6..1edc39835c 100644 --- a/tools/imatrix/imatrix.cpp +++ b/tools/imatrix/imatrix.cpp @@ -150,7 +150,7 @@ static std::vector compute_tensor_averages(const Stats & tstats) { } else { // Mean for (size_t m = 0; m < n_mat; ++m) { - const float c = (float) tstats.counts[m]; + const float c = (float)tstats.counts[m]; const size_t off = m * row; if (c <= 0.0f) { vec.insert(vec.end(), row, 0.0f); // zero-fill rows for experts with zero count to preserve shape