From b83958cdfc698b03bc421f64341a4b815b8cfcc0 Mon Sep 17 00:00:00 2001 From: Florian OMNES Date: Thu, 5 Dec 2024 09:27:02 +0100 Subject: [PATCH] [GUI] Fix launch studies with empty solver --- src/ui/simulator/application/study.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ui/simulator/application/study.cpp b/src/ui/simulator/application/study.cpp index c19ea5a1f8..ab4e65e472 100644 --- a/src/ui/simulator/application/study.cpp +++ b/src/ui/simulator/application/study.cpp @@ -1207,7 +1207,10 @@ void RunSimulationOnTheStudy(Data::Study::Ptr study, cmd << " --parallel"; // add solver name for ortools - cmd << " --solver=" << solverName; + if (!solverName.empty()) + { + cmd << " --solver=" << solverName; + } // Go go go ! logs.debug() << "running " << cmd;