We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8328fbb commit 090e02fCopy full SHA for 090e02f
1 file changed
power_grid_model_c/power_grid_model/include/power_grid_model/topology.hpp
@@ -556,8 +556,8 @@ class Topology {
556
std::ranges::for_each(math_topology_,
557
[](MathModelTopology& topo) { topo.load_gen_type.resize(topo.n_load_gen()); });
558
// assign load type
559
- for (auto const& [idx_math, load_gen_type] : std::views::zip(std::as_const(comp_coup_.load_gen),
560
- std::as_const(comp_topo_.load_gen_type))) {
+ for (auto const& [idx_math, load_gen_type] :
+ std::views::zip(std::as_const(comp_coup_.load_gen), std::as_const(comp_topo_.load_gen_type))) {
561
if (idx_math.group == -1) {
562
continue;
563
}
0 commit comments