Skip to content

Commit

Permalink
Corrected a bug where part of the reserves were transmitted from one …
Browse files Browse the repository at this point in the history
…area to another, creating segfaults
  • Loading branch information
sylvmara committed Dec 4, 2024
1 parent 9c3a50a commit f3edc0e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ inline void State::initFromAreaIndex(const unsigned int areaIndex, uint numSpace
for (int h=0 ; h< HOURS_PER_YEAR; h++)
{
reserveParticipationPerLTStorageClusterForYear[hourInTheYear].clear();

reserveParticipationPerSTStorageClusterForYear[hourInTheYear].clear();
reserveParticipationPerThermalClusterForYear[hourInTheYear].clear();
}
}
switch (simulationMode)
Expand Down

0 comments on commit f3edc0e

Please sign in to comment.