Skip to content

Commit

Permalink
Fix formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
spahrenk committed Jan 6, 2025
1 parent c2c68d9 commit 5a11bb2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/Condenser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ bool HPWH::Condenser::shouldLockOut(double heatSourceAmbientT_C) const

bool HPWH::Condenser::shouldUnlock(double heatSourceAmbientT_C) const
{

// if it's already unlocked, keep it unlocked
if (!isLockedOut())
{
Expand Down
5 changes: 3 additions & 2 deletions src/HPWHUtils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -907,8 +907,9 @@ void HPWH::to_json(
if (perf.secondary_heat_exchanger_is_set)
{
nlohmann::json j_secondary_heat_exchanger;
auto &shs = perf.secondary_heat_exchanger;
j_secondary_heat_exchanger["cold_side_temperature_offset"] = shs.cold_side_temperature_offset;
auto& shs = perf.secondary_heat_exchanger;
j_secondary_heat_exchanger["cold_side_temperature_offset"] =
shs.cold_side_temperature_offset;
j_secondary_heat_exchanger["hot_side_temperature_offset"] = shs.hot_side_temperature_offset;
j_secondary_heat_exchanger["extra_pump_power"] = shs.extra_pump_power;
j_perf["secondary_heat_exchanger"] = j_secondary_heat_exchanger;
Expand Down

0 comments on commit 5a11bb2

Please sign in to comment.