Skip to content

Commit

Permalink
Fix segfault on BP study
Browse files Browse the repository at this point in the history
  • Loading branch information
flomnes committed Jan 27, 2025
1 parent 433bac5 commit 9fc4bac
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ bool thermalTSNumberData::apply(Study& study)

for (auto& cluster: area.thermal.list.each_enabled())
{
assert(cluster->areaWideIndex < pTSNumberRules.width);
const auto& col = pTSNumberRules[cluster->areaWideIndex];
assert(cluster->enabledIndex < pTSNumberRules.width);
const auto& col = pTSNumberRules[cluster->enabledIndex];

uint tsGenCount = cluster->tsGenBehavior == LocalTSGenerationBehavior::forceNoGen
? cluster->series.timeSeries.width
Expand Down

0 comments on commit 9fc4bac

Please sign in to comment.