Skip to content

Commit

Permalink
Resize
Browse files Browse the repository at this point in the history
  • Loading branch information
flomnes committed Jan 27, 2025
1 parent 9fc4bac commit 292b6bb
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ bool thermalTSNumberData::reset(const Study& study)
// solver or not.
// WARNING: At this point, the variable pArea->thermal.list.size()
// might not be valid (because not really initialized yet)
uint clusterCount = (study.usedByTheSolver) ? (pArea->thermal.list.enabledCount())
: pArea->thermal.list.allClustersCount();
uint clusterCount = pArea->thermal.list.allClustersCount();

// Resize
pTSNumberRules.reset(clusterCount, nbYears);
Expand Down

0 comments on commit 292b6bb

Please sign in to comment.