Commit 417ac88c authored by Müller, Felix's avatar Müller, Felix
Browse files

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

parent d7a4c589
Pipeline #1310 passed with stage
in 20 minutes and 43 seconds
...@@ -11,7 +11,7 @@ namespace AMDiS ...@@ -11,7 +11,7 @@ namespace AMDiS
size_type n = num_rows(getM()); size_type n = num_rows(getM());
double delta = std::sqrt(M0 * getTau()); double delta = std::sqrt(M0 * getTau());
msg("delta = ", delta); msg("delta = {}", delta);
// helper-matrix MpL = M + delta*L // helper-matrix MpL = M + delta*L
MpL.change_dim(n, n); MpL.change_dim(n, n);
......
...@@ -101,9 +101,8 @@ int main(int argc, char** argv) ...@@ -101,9 +101,8 @@ int main(int argc, char** argv)
AdaptInstationary adapt("adapt", prob, adaptInfo, probInstat, adaptInfo); AdaptInstationary adapt("adapt", prob, adaptInfo, probInstat, adaptInfo);
adapt.adapt(); adapt.adapt();
msg("|mu| = ", two_norm(Mu.getVector()), ", ", msg("|mu| = {}, |nu| = {}, |psi| = {}",
"|nu| = ", two_norm(Nu.getVector()), ", ", two_norm(Mu.getVector()), two_norm(Nu.getVector()), two_norm(Psi.getVector()));
"|psi| = ", two_norm(Psi.getVector()));
AMDiS::finalize(); AMDiS::finalize();
return 0; return 0;
......
...@@ -83,7 +83,7 @@ namespace AMDiS ...@@ -83,7 +83,7 @@ namespace AMDiS
/** /**
* Example: * Example:
* ``` * ```
* msg("Hello ", "World: ", 123); // prints "Hello World: 123\n" * msg("Hello {}: {}", "World", 123); // prints "Hello World: 123\n"
* ``` * ```
**/ **/
template <class... Args> template <class... Args>
...@@ -97,7 +97,7 @@ namespace AMDiS ...@@ -97,7 +97,7 @@ namespace AMDiS
/** /**
* Example: * Example:
* ``` * ```
* msg("Hello ", "World: ", 123); // prints "Hello World: 123" * msg_("Hello {}: {}", "World", 123); // prints "Hello World: 123"
* ``` * ```
**/ **/
template <class... Args> template <class... Args>
......
Markdown is supported
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