Use { and } around single line for statement

This commit is contained in:
Ed Addario 2025-08-17 08:10:54 +01:00
parent 4a487ea7e4
commit 12607d3203
No known key found for this signature in database
GPG Key ID: E7875815A3230993
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ static void compute_layer_statistics(const std::vector<tensor_statistics> & tsta
static const std::regex pattern(R"(blk\.(\d+)\.)");
std::unordered_map<std::string, const tensor_statistics*> 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<int, layer_aggregation> taggr;
for (const auto & ts : tstats) {