Skip to content

Commit 046ad98

Browse files
clang-tidy
Signed-off-by: Jerry Guo <Jerry.Jinfeng.Guo@alliander.com>
1 parent a7ad759 commit 046ad98

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

power_grid_model_c/power_grid_model/include/power_grid_model/optimizer/tap_position_optimizer.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,8 @@ inline auto get_edge_weights(TransformerGraph const& graph) -> TrafoGraphEdgePro
330330
"away from the source than the tap side.\n");
331331
}
332332
if (!is_unreachable(edge_res)) {
333-
result.emplace_back(TrafoGraphEdge{graph[e].regulated_idx, edge_tgt_rank}); // NOLINT
333+
result.emplace_back(
334+
TrafoGraphEdge{graph[e].regulated_idx, edge_tgt_rank}); // NOLINT(clang-diagnostic-error, other-warning)
334335
}
335336
}
336337

0 commit comments

Comments
 (0)