From cdac67491f241198521b0d637445941050a0c5a2 Mon Sep 17 00:00:00 2001 From: Abdoulbari Zakir Date: Mon, 16 Dec 2024 15:16:39 +0100 Subject: [PATCH] update nb cnt --- .../optimisation/opt_decompte_variables_et_contraintes.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/solver/optimisation/opt_decompte_variables_et_contraintes.cpp b/src/solver/optimisation/opt_decompte_variables_et_contraintes.cpp index 490d14d062..79c29c58ab 100644 --- a/src/solver/optimisation/opt_decompte_variables_et_contraintes.cpp +++ b/src/solver/optimisation/opt_decompte_variables_et_contraintes.cpp @@ -247,9 +247,7 @@ int OPT_DecompteDesVariablesEtDesContraintesDuProblemeAOptimiser(PROBLEME_HEBDO* } if (!storage.additional_constraints.empty()) { - ProblemeAResoudre->NombreDeContraintes - += storage.additional_constraints.size() - * nombreDePasDeTempsPourUneOptimisation; + ProblemeAResoudre->NombreDeContraintes += storage.additional_constraints.size(); } } }