Skip to content

Commit

Permalink
Add ref
Browse files Browse the repository at this point in the history
  • Loading branch information
flomnes committed Jan 2, 2025
1 parent 16c02fe commit ac59ea6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/solver/simulation/sim_calcul_economique.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ static void importShortTermStorages(
{
if (constr.enabled)
{
for (auto c: constr.constraints)
for (auto& c: constr.constraints)
{
c.globalIndex = clusterCumulativeConstraintGlobalIndex;
++clusterCumulativeConstraintGlobalIndex;
Expand Down

0 comments on commit ac59ea6

Please sign in to comment.