Skip to content

Commit

Permalink
Merge cleave-hs-types; fix type conversion.
Browse files Browse the repository at this point in the history
  • Loading branch information
spahrenk committed Nov 7, 2024
1 parent cab9e97 commit c974bc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/HPWH.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4117,7 +4117,7 @@ void HPWH::initFromFileJSON(nlohmann::json& j)

for (std::size_t heatsource_id = 0; heatsource_id < num_heat_sources; ++heatsource_id)
{
int iconfig = heat_source_lookup[heatsource_id];
auto iconfig = heat_source_lookup[heatsource_id];
auto& j_heatsourceconfig = j_heatsourceconfigs[iconfig];

HeatSource* element = nullptr;
Expand Down Expand Up @@ -4269,7 +4269,7 @@ void HPWH::initFromFileJSON(nlohmann::json& j)
//
for (std::size_t heatsource_id = 0; heatsource_id < num_heat_sources; ++heatsource_id)
{
int iconfig = heat_source_lookup[heatsource_id];
auto iconfig = heat_source_lookup[heatsource_id];
auto& j_heatsourceconfig = j_heatsourceconfigs[iconfig];

int id;
Expand Down

0 comments on commit c974bc2

Please sign in to comment.