Skip to content

Commit

Permalink
Minor nitpicks
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarrec authored Sep 27, 2023
1 parent 5097dc1 commit 0b79413
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/model/BoilerHotWater.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ namespace model {
}

bool BoilerHotWater_Impl::setOnCycleParasiticElectricLoad(double onCycleParasiticElectricLoad) {
bool result = setDouble(OS_Boiler_HotWaterFields::OnCycleParasiticElectricLoad, onCycleParasiticElectricLoad);
const bool result = setDouble(OS_Boiler_HotWaterFields::OnCycleParasiticElectricLoad, onCycleParasiticElectricLoad);
return result;
}

Expand Down
1 change: 1 addition & 0 deletions src/osversion/VersionTranslator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8623,6 +8623,7 @@ namespace osversion {
}
}

// IDD 3.6.1 had a default of 0.0, so it'll pick that up if empty, and it matches the new Ctor value
newObject.setDouble(15, object.getDouble(15, true).get());
newObject.setDouble(16, 0.0);

Expand Down

0 comments on commit 0b79413

Please sign in to comment.