Skip to content

Commit

Permalink
Fix segfault caused by invalid index [ANT-2582] (#2543)
Browse files Browse the repository at this point in the history
  • Loading branch information
flomnes authored Dec 19, 2024
1 parent 5d4c168 commit 03508de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ void NbDispUnitsMinBoundSinceMinUpTime::add(int pays, int index, int pdt)
builder.greaterThan();
if (builder.NumberOfVariables() > 1)
{
data.CorrespondanceCntNativesCntOptim[pays]
data.CorrespondanceCntNativesCntOptim[pdt]
.NumeroDeContrainteDesContraintesDeDureeMinDeMarche[cluster]
= builder.data.nombreDeContraintes;

Expand Down

0 comments on commit 03508de

Please sign in to comment.