From cb3d9bad5c054af4f9265bcd856402eefc875cb1 Mon Sep 17 00:00:00 2001 From: jukofyork <69222624+jukofyork@users.noreply.github.com> Date: Tue, 7 May 2024 18:13:09 +0100 Subject: [PATCH] ncall needs summing too --- examples/imatrix/imatrix.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/imatrix/imatrix.cpp b/examples/imatrix/imatrix.cpp index 9a8236ab5..5f56a68b7 100644 --- a/examples/imatrix/imatrix.cpp +++ b/examples/imatrix/imatrix.cpp @@ -297,9 +297,9 @@ bool IMatrixCollector::load_imatrix(const char * imatrix_file, std::unordered_ma for (int i = 0; i < nval; i++) { e.values[i] += tmp[i]; e.counts[i] += ncall; - } + } + e.ncall += ncall; - e.ncall = ncall; } return true; }