diff --git a/src/solver/variable/economy/profitByPlant.h b/src/solver/variable/economy/profitByPlant.h index 4d353531b4..681f5db099 100644 --- a/src/solver/variable/economy/profitByPlant.h +++ b/src/solver/variable/economy/profitByPlant.h @@ -281,9 +281,11 @@ class ProfitByPlant : public Variable::IVariable, NextT, VC double pMin = 0; if (!state.problemeHebdo->PaliersThermiquesDuPays[area->index].PuissanceDisponibleEtCout.empty()) + { pMin = state.problemeHebdo->PaliersThermiquesDuPays[area->index] - .PuissanceDisponibleEtCout[cluster->index] - .PuissanceMinDuPalierThermique[hourInTheYear]; + .PuissanceDisponibleEtCout[cluster->index] + .PuissanceMinDuPalierThermique[hourInTheYear]; + } // Thermal cluster profit pValuesForTheCurrentYear[numSpace][cluster->areaWideIndex].hour[hourInTheYear]