Skip to content

Commit

Permalink
[GUI] Fix launch studies with empty solver
Browse files Browse the repository at this point in the history
  • Loading branch information
flomnes committed Dec 5, 2024
1 parent c67e312 commit b83958c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/ui/simulator/application/study.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b83958c

Please sign in to comment.