Skip to content

Commit

Permalink
Space HVAC - fix broken ifs
Browse files Browse the repository at this point in the history
  • Loading branch information
mjwitte committed Aug 18, 2023
1 parent 99ca30f commit 8f0f792
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/EnergyPlus/DataZoneEquipment.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1292,7 +1292,7 @@ void processZoneEquipMixerInput(EnergyPlusData &state,
bool found = false;
auto &thisZoneEquipConfig = state.dataZoneEquip->ZoneEquipConfig(zoneNum);
for (int exhNodeNum : thisZoneEquipConfig.ExhaustNode) {
if (thisZeqMixer.zoneEquipInletNodeNum = exhNodeNum) {
if (thisZeqMixer.zoneEquipInletNodeNum == exhNodeNum) {
found = true;
break;
}
Expand Down Expand Up @@ -1340,7 +1340,7 @@ void processZoneEquipMixerInput(EnergyPlusData &state,
bool found = false;
auto &thisSpaceEquipConfig = state.dataZoneEquip->spaceEquipConfig(thisZeqSpace.spaceIndex);
for (int exhNodeNum : thisSpaceEquipConfig.ExhaustNode) {
if (thisZeqSpace.spaceNodeNum = exhNodeNum) {
if (thisZeqSpace.spaceNodeNum == exhNodeNum) {
found = true;
break;
}
Expand Down

5 comments on commit 8f0f792

@nrel-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SpaceSizingHVAC (mjwitte) - Win64-Windows-10-VisualStudio-16: OK (2687 of 2687 tests passed, 0 test warnings)

Build Badge Test Badge

@nrel-bot-2
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SpaceSizingHVAC (mjwitte) - x86_64-Linux-Ubuntu-22.04-gcc-11.4: OK (3507 of 3507 tests passed, 780 test warnings)

Messages:\n

  • 780 tests had: AUD diffs.
  • 1 test had: BND diffs.
  • 2 tests had: EIO diffs.
  • 1 test had: MTD diffs.

Build Badge Test Badge

@nrel-bot-3
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SpaceSizingHVAC (mjwitte) - x86_64-MacOS-10.17-clang-13.0.0: OK (3466 of 3466 tests passed, 776 test warnings)

Messages:\n

  • 776 tests had: AUD diffs.
  • 1 test had: BND diffs.
  • 2 tests had: EIO diffs.
  • 1 test had: MTD diffs.

Build Badge Test Badge

@nrel-bot-2c
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SpaceSizingHVAC (mjwitte) - x86_64-Linux-Ubuntu-22.04-gcc-11.4-UnitTestsCoverage-Debug: OK (1908 of 1908 tests passed, 0 test warnings)

Build Badge Test Badge Coverage Badge

@nrel-bot-2b
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SpaceSizingHVAC (mjwitte) - x86_64-Linux-Ubuntu-22.04-gcc-11.4-IntegrationCoverage-Debug: OK (782 of 782 tests passed, 0 test warnings)

Build Badge Test Badge Coverage Badge

Please sign in to comment.