From a75a3b44ffe9c99fc6d1c07ba4c4542b85f02790 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Fri, 13 Dec 2019 16:18:03 -0500 Subject: fixed some bugs due to new class in global namespace --- examples/continuous_gaussian.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/continuous_gaussian.cpp') diff --git a/examples/continuous_gaussian.cpp b/examples/continuous_gaussian.cpp index eda22cb..da2dc30 100644 --- a/examples/continuous_gaussian.cpp +++ b/examples/continuous_gaussian.cpp @@ -57,11 +57,11 @@ int main(int argc, char *argv[]) { graph<> G(D, L); // initialize the system - system, height_t, graph<>> S(G, T, Z, B); + wolff::system, height_t, graph<>> S(G, T, Z, B); bool odd_run = false; - std::function (std::mt19937&, const system, height_t, graph<>>&, const graph<>::vertex&)> gen_R_IH = [&](std::mt19937& r, const system, height_t, graph<>>& S, const graph<>::vertex& v) -> dihedral_inf_t { + std::function (std::mt19937&, const wolff::system, height_t, graph<>>&, const graph<>::vertex&)> gen_R_IH = [&](std::mt19937& r, const wolff::system, height_t, graph<>>& S, const graph<>::vertex& v) -> dihedral_inf_t { dihedral_inf_t rot; rot.is_reflection = true; @@ -95,7 +95,7 @@ int main(int argc, char *argv[]) { // initialize the random number generator auto seed = std::chrono::high_resolution_clock::now().time_since_epoch().count(); - std::mt19937 rng{seed}; + std::mt19937 rng(seed); // run wolff N times S.run_wolff(N, gen_R_IH, A, rng); -- cgit v1.2.3-70-g09d2