diff --git a/src/model/BoilerHotWater.cpp b/src/model/BoilerHotWater.cpp index 620f44067a5..93b228445f5 100644 --- a/src/model/BoilerHotWater.cpp +++ b/src/model/BoilerHotWater.cpp @@ -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; } diff --git a/src/osversion/VersionTranslator.cpp b/src/osversion/VersionTranslator.cpp index d0fbab535ea..6befc4a1932 100644 --- a/src/osversion/VersionTranslator.cpp +++ b/src/osversion/VersionTranslator.cpp @@ -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);