diff --git a/src/solver/simulation/solver_utils.cpp b/src/solver/simulation/solver_utils.cpp index fc425ee40c..a9f539860e 100644 --- a/src/solver/simulation/solver_utils.cpp +++ b/src/solver/simulation/solver_utils.cpp @@ -18,9 +18,7 @@ static const std::string updateTimeFilename static std::ostream& toScientific(std::ostream& os) { - os << std::scientific; - os << std::setprecision(14); - return os; + return os << std::scientific << std::setprecision(14); } namespace Antares::Solver::Simulation