Skip to content

Commit

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

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

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

0 comments on commit 086d6aa

Please sign in to comment.