Commit 758b95b7 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

Merge branch 'issue/fix_msg_with_new_fmt_library' into 'develop'

Changed instances of msg() to properly use the new format

See merge request spraetor/dune-amdis!39
parents d7a4c589 417ac88c
......@@ -11,7 +11,7 @@ namespace AMDiS
size_type n = num_rows(getM());
double delta = std::sqrt(M0 * getTau());
msg("delta = ", delta);
msg("delta = {}", delta);
// helper-matrix MpL = M + delta*L
MpL.change_dim(n, n);
......
......@@ -101,9 +101,8 @@ int main(int argc, char** argv)
AdaptInstationary adapt("adapt", prob, adaptInfo, probInstat, adaptInfo);
adapt.adapt();
msg("|mu| = ", two_norm(Mu.getVector()), ", ",
"|nu| = ", two_norm(Nu.getVector()), ", ",
"|psi| = ", two_norm(Psi.getVector()));
msg("|mu| = {}, |nu| = {}, |psi| = {}",
two_norm(Mu.getVector()), two_norm(Nu.getVector()), two_norm(Psi.getVector()));
AMDiS::finalize();
return 0;
......
......@@ -83,7 +83,7 @@ namespace AMDiS
/**
* Example:
* ```
* msg("Hello ", "World: ", 123); // prints "Hello World: 123\n"
* msg("Hello {}: {}", "World", 123); // prints "Hello World: 123\n"
* ```
**/
template <class... Args>
......@@ -97,7 +97,7 @@ namespace AMDiS
/**
* Example:
* ```
* msg("Hello ", "World: ", 123); // prints "Hello World: 123"
* msg_("Hello {}: {}", "World", 123); // prints "Hello World: 123"
* ```
**/
template <class... Args>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment