Skip to content

Commit

Permalink
Merge pull request #79 from HSU-HPC/ls1-logger-fix
Browse files Browse the repository at this point in the history
fix now that ls1 logger is unique_ptr
  • Loading branch information
amartyads authored Nov 6, 2024
2 parents 5b5aa1d + d59464c commit 3577234
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion coupling/python-binding/mamico.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ int initMPI() {
delete[] argv;
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
#if defined(LS1_MARDYN)
global_log = new Log::Logger(Log::Error);
Log::global_log = std::make_unique<Log::Logger>(Log::Error); //Log::Info
#if (COUPLING_MD_PARALLEL == COUPLING_MD_YES)
global_log->set_mpi_output_root(0);
#endif
Expand Down
2 changes: 1 addition & 1 deletion coupling/scenario/CouetteScenario.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class CouetteScenario : public Scenario {
* @brief initialises everthing necessary for the test */
void init() override {
#if defined(LS1_MARDYN)
global_log = new Log::Logger(Log::Error); // Info
Log::global_log = std::make_unique<Log::Logger>(Log::Error);; //Log::Info
#if (COUPLING_MD_PARALLEL == COUPLING_MD_YES)
global_log->set_mpi_output_root(0);
#endif
Expand Down

0 comments on commit 3577234

Please sign in to comment.