From 182b0c81bd94a53e34f1e2afe4295fc85ebc1b1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Omn=C3=A8s?= Date: Fri, 21 Jun 2024 14:26:01 +0200 Subject: [PATCH] Update src/solver/optimisation/HebdoProblemToLpsTranslator.cpp --- src/solver/optimisation/HebdoProblemToLpsTranslator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/solver/optimisation/HebdoProblemToLpsTranslator.cpp b/src/solver/optimisation/HebdoProblemToLpsTranslator.cpp index c35b758e76..1109e9c780 100644 --- a/src/solver/optimisation/HebdoProblemToLpsTranslator.cpp +++ b/src/solver/optimisation/HebdoProblemToLpsTranslator.cpp @@ -83,7 +83,7 @@ ConstantDataFromAntares HebdoProblemToLpsTranslator::commonProblemData(const PRO throw WeeklyProblemTranslationException("ConstraintesCount exceed NombreDeTermesDesLignes size"); } - auto ret = ConstantDataFromAntares(); + ConstantDataFromAntares ret; ret.VariablesCount = problem->NombreDeVariables; ret.ConstraintesCount = problem->NombreDeContraintes;