Skip to content

Commit

Permalink
#216 Fix algo for shunts
Browse files Browse the repository at this point in the history
  • Loading branch information
Le Courtois Florent committed Oct 5, 2021
1 parent 3585143 commit 4c9824b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/Algo/src/Algo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ ShuntDefinitionAlgorithm::operator()(const NodePtr& node) {
auto vl = node->voltageLevel.lock();
auto& map = shuntDefs_.shunts[vl->id];
std::copy(node->shunts.begin(), node->shunts.end(), std::inserter(map.shunts, map.shunts.end()));
map.dynamicModelAssociated = (voltageLevelsWithAssociation_.count(vl->id) > 0);
map.dynamicModelAssociated |= (voltageLevelsWithAssociation_.count(vl->id) > 0);
}

size_t
Expand Down

0 comments on commit 4c9824b

Please sign in to comment.