From fe77c920d2900df3b983e83b2fb1ead0928275ac Mon Sep 17 00:00:00 2001 From: Abdoulbari ZAKIR Date: Mon, 18 Sep 2023 15:39:35 +0200 Subject: [PATCH] fix --- src/solver/optimisation/HydroPower.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/solver/optimisation/HydroPower.cpp b/src/solver/optimisation/HydroPower.cpp index d6f36ecdd9..6b0f019489 100644 --- a/src/solver/optimisation/HydroPower.cpp +++ b/src/solver/optimisation/HydroPower.cpp @@ -21,8 +21,7 @@ void HydroPower::add(int pays) for (int pdt = 0; pdt < NombreDePasDeTempsPourUneOptimisation; pdt++) { builder.updateHourWithinWeek(pdt); - builder.HydProd(pays, 1.0) - .include(Variable::Pumping(pays), -pumpingRatio); + builder.HydProd(pays, 1.0).Pumping(pays, -pumpingRatio); } } else