mirror of
https://git.gfz-potsdam.de/naaice/poet.git
synced 2025-12-15 20:38:23 +01:00
reverting <format> since gcc < 13 does not support it
This commit is contained in:
parent
2e3de84a90
commit
dd9cc5e59f
@ -39,7 +39,6 @@
|
||||
#include <memory>
|
||||
#include <mpi.h>
|
||||
#include <string>
|
||||
#include <format>
|
||||
|
||||
#include <CLI/CLI.hpp>
|
||||
|
||||
@ -294,11 +293,12 @@ static Rcpp::List RunMasterLoop(RInsidePOET &R, const RuntimeParameters ¶ms,
|
||||
const double &dt = params.timesteps[iter - 1];
|
||||
|
||||
std::cout << std::endl;
|
||||
|
||||
/* displaying iteration number, with C++ and R iterator */
|
||||
MSG("Going through iteration " + std::to_string(iter) + "/" +
|
||||
std::to_string(maxiter));
|
||||
|
||||
MSG("Current time step is " + std::format("{:.2f}", dt));
|
||||
MSG("Current time step is " + std::to_string(dt));
|
||||
|
||||
/* run transport */
|
||||
diffusion.simulate(dt);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user