Skip to content

Commit 12607d3

Browse files
committed
Use { and } around single line for statement
1 parent 4a487ea commit 12607d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/imatrix/imatrix.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ static void compute_layer_statistics(const std::vector<tensor_statistics> & tsta
317317
static const std::regex pattern(R"(blk\.(\d+)\.)");
318318
std::unordered_map<std::string, const tensor_statistics*> tidx;
319319
tidx.reserve(tstats.size());
320-
for (const auto & ts : tstats) tidx[ts.tensor] = &ts;
320+
for (const auto & ts : tstats) { tidx[ts.tensor] = &ts; }
321321
std::map<int, layer_aggregation> taggr;
322322

323323
for (const auto & ts : tstats) {

0 commit comments

Comments
 (0)