Skip to content

Commit

Permalink
Fix enabled/disabled cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
h-fournier committed Oct 25, 2024
1 parent 688d3c9 commit 7ad09d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ void Areas<NextT>::hourForEachArea(State& state, uint numSpace)

state.initReserveParticipationIndexMaps();

for (auto cluster: area.thermal.list.all())
for (const auto& cluster : area.thermal.list.each_enabled())
{
// Intiializing the state for the current thermal cluster
state.initFromThermalClusterIndex(cluster->areaWideIndex);
Expand Down

0 comments on commit 7ad09d5

Please sign in to comment.