Skip to content

Commit 22d574e

Browse files
sonar cloud
Signed-off-by: Jerry Guo <Jerry.Jinfeng.Guo@alliander.com>
1 parent 383c348 commit 22d574e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ inline auto get_edge_weights(TransformerGraph const& graph) -> TrafoGraphEdgePro
329329
"Control side of a transformer should be the relatively further side to a source.\n");
330330
}
331331
if (!is_unreachable(edge_res)) {
332-
result.emplace_back(TrafoGraphEdge{graph[e].regulated_idx, edge_tgt_rank});
332+
result.emplace_back(graph[e].regulated_idx, edge_tgt_rank);
333333
}
334334
}
335335

0 commit comments

Comments
 (0)