diff --git a/src/solver/simulation/sim_calcul_economique.cpp b/src/solver/simulation/sim_calcul_economique.cpp index 40bcd41846..beb1696131 100644 --- a/src/solver/simulation/sim_calcul_economique.cpp +++ b/src/solver/simulation/sim_calcul_economique.cpp @@ -624,10 +624,8 @@ void SIM_RenseignementProblemeHebdo(const Study& study, if (problem.CaracteristiquesHydrauliques[k].PresenceDHydrauliqueModulable > 0) { - problem.CaracteristiquesHydrauliques[k] - .ContrainteDePmaxHydrauliqueHoraire[hourInWeek] + problem.CaracteristiquesHydrauliques[k].ContrainteDePmaxHydrauliqueHoraire[hourInWeek] = ContrainteDePmaxHydrauliqueHoraire - * problem.CaracteristiquesHydrauliques[k].WeeklyGeneratingModulation; }