Skip to content

Commit

Permalink
Fix segfault caused by invalid index [ANT-2582] (#2544)
Browse files Browse the repository at this point in the history
  • Loading branch information
flomnes authored Dec 19, 2024
1 parent 2b6cd14 commit 3b0fe2d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,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 3b0fe2d

Please sign in to comment.