diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2019-12-13 16:18:03 -0500 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2019-12-13 16:18:03 -0500 |
commit | a75a3b44ffe9c99fc6d1c07ba4c4542b85f02790 (patch) | |
tree | 6281a4e84eb92105c3a4a8433d0aeef8271ec632 /examples/ising_animation.cpp | |
parent | 4991418a416b75680737ec8f1e47b355b219728d (diff) | |
download | c++-a75a3b44ffe9c99fc6d1c07ba4c4542b85f02790.tar.gz c++-a75a3b44ffe9c99fc6d1c07ba4c4542b85f02790.tar.bz2 c++-a75a3b44ffe9c99fc6d1c07ba4c4542b85f02790.zip |
fixed some bugs due to new class in global namespace
Diffstat (limited to 'examples/ising_animation.cpp')
-rw-r--r-- | examples/ising_animation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/ising_animation.cpp b/examples/ising_animation.cpp index bcaa589..d420f2b 100644 --- a/examples/ising_animation.cpp +++ b/examples/ising_animation.cpp @@ -10,7 +10,7 @@ using namespace wolff; -typedef system<ising_t, ising_t, graph<>> sys; +typedef wolff::system<ising_t, ising_t, graph<>> sys; class draw_ising : public measurement<ising_t, ising_t, graph<>> { private: @@ -115,7 +115,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_ising<graph<>>, A, rng); |