diff --git a/src/solver/hydro/monthly/h2o_m_construire_les_variables.cpp b/src/solver/hydro/monthly/h2o_m_construire_les_variables.cpp index aeb3ad1726..534e8c236e 100644 --- a/src/solver/hydro/monthly/h2o_m_construire_les_variables.cpp +++ b/src/solver/hydro/monthly/h2o_m_construire_les_variables.cpp @@ -46,15 +46,7 @@ void H2O_M_ConstruireLesVariables(DONNEES_ANNUELLES& DonneesAnnuelles) const int NbPdt = DonneesAnnuelles.NombreDePasDeTemps; int Var = 0; - CorrespondanceDesVariables.NumeroDeVariableVolume[0] = Var; - ProblemeLineairePartieVariable.Xmin[Var] = 0.0; - ProblemeLineairePartieVariable.Xmax[Var] = 1.0; - ProblemeLineairePartieFixe.TypeDeVariable[Var] = VARIABLE_BORNEE_DES_DEUX_COTES; - ProblemeLineairePartieVariable.AdresseOuPlacerLaValeurDesVariablesOptimisees[Var] - = &(DonneesAnnuelles.Volume[0]); - Var++; - - for (int Pdt = 1; Pdt < NbPdt; Pdt++) + for (int Pdt = 0; Pdt < NbPdt; Pdt++) { CorrespondanceDesVariables.NumeroDeVariableVolume[Pdt] = Var; ProblemeLineairePartieVariable.Xmin[Var] = 0.0;