Skip to content

Commit f0825a6

Browse files
author
GitHub Copilot
committed
format
Signed-off-by: GitHub Copilot <copilot@example.com>
1 parent b265d5b commit f0825a6

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

src/io/outputs/include/antares/io/outputs/OptimisationsSimulationTable.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ class OptimisationsSimulationTable
1818
SimulationTable firstOptimSimulationTable_;
1919
SimulationTable secondOptimSimulationTable_;
2020
};
21-
}
21+
} // namespace Antares::IO::Outputs

src/libs/antares/writer/LegacySimulationTablesWriter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#include "include/antares/writer/LegacySimulationTablesWriter.h"
22

3-
#include "include/antares/writer/table_writer_factory.h"
4-
53
#include <antares/exception/RuntimeError.hpp>
64

5+
#include "include/antares/writer/table_writer_factory.h"
6+
77
namespace fs = std::filesystem;
88
using namespace Antares::IO::Outputs;
99

src/libs/antares/writer/csv_table_writer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ void CsvTableWriter::writeTable(const SimulationTable& simuTable) const
7979
if (!out)
8080
{
8181
throw Antares::Error::RuntimeError("CsvTableWriter: cannot open output file: "
82-
+ output_file_.string());
82+
+ output_file_.string());
8383
}
8484

8585
std::vector<std::string> names;

src/solver/optimisation/include/antares/solver/optimisation/opt_fonctions.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ namespace Antares::IO::Outputs
2929
{
3030
class SimulationTable;
3131
class OptimisationsSimulationTable;
32-
}
32+
} // namespace Antares::IO::Outputs
33+
3334
void OPT_OptimisationHebdomadaireLineaire(
3435
const OptimizationOptions& options,
3536
PROBLEME_HEBDO* pProblemeHebdo,

src/solver/optimisation/opt_optimisation_lineaire.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,7 @@ bool runWeeklyOptimization(const SingleOptimOptions& options,
180180
return false;
181181
}
182182

183-
if (problemeHebdo->ExportMPS != mpsExportStatus::NO_EXPORT
184-
|| problemeHebdo->Expansion)
183+
if (problemeHebdo->ExportMPS != mpsExportStatus::NO_EXPORT || problemeHebdo->Expansion)
185184
{
186185
double optimalSolutionCost = OPT_ObjectiveFunctionResult(problemeHebdo,
187186
numeroDeLIntervalle,

0 commit comments

Comments
 (0)