diff --git a/tools/imatrix/imatrix.cpp b/tools/imatrix/imatrix.cpp index 617e3d4243..024b6cb160 100644 --- a/tools/imatrix/imatrix.cpp +++ b/tools/imatrix/imatrix.cpp @@ -317,7 +317,7 @@ static void compute_layer_statistics(const std::vector & tsta static const std::regex pattern(R"(blk\.(\d+)\.)"); std::unordered_map tidx; tidx.reserve(tstats.size()); - for (const auto & ts : tstats) tidx[ts.tensor] = &ts; + for (const auto & ts : tstats) { tidx[ts.tensor] = &ts; } std::map taggr; for (const auto & ts : tstats) {