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 b3bb697 commit ec6c1a5Copy full SHA for ec6c1a5
src/EnergyPlus/PlantValves.cc
@@ -328,10 +328,10 @@ namespace PlantValves {
328
if (thisLoopSide.Mixer.Exists) {
329
if (any_eq(thisLoopSide.Mixer.NodeNumIn, this->PltStream2NodeNum)) {
330
int thisInnerBranchCtr = 0;
331
- for (auto &thisInnerBranch : thisLoopSide.Branch) {
+ for (auto const &thisInnerBranch : thisLoopSide.Branch) {
332
thisInnerBranchCtr++;
333
if (branchCtr == thisInnerBranchCtr) continue; // already looped into this one
334
- for (auto &thisInnerComp : thisInnerBranch.Comp) {
+ for (auto const &thisInnerComp : thisInnerBranch.Comp) {
335
if (thisInnerComp.NodeNumOut == this->PltStream2NodeNum) {
336
Stream2NodeOkay = true;
337
}
0 commit comments