We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 383c348 commit 22d574eCopy full SHA for 22d574e
power_grid_model_c/power_grid_model/include/power_grid_model/optimizer/tap_position_optimizer.hpp
@@ -329,7 +329,7 @@ inline auto get_edge_weights(TransformerGraph const& graph) -> TrafoGraphEdgePro
329
"Control side of a transformer should be the relatively further side to a source.\n");
330
}
331
if (!is_unreachable(edge_res)) {
332
- result.emplace_back(TrafoGraphEdge{graph[e].regulated_idx, edge_tgt_rank});
+ result.emplace_back(graph[e].regulated_idx, edge_tgt_rank);
333
334
335
0 commit comments