summaryrefslogtreecommitdiff
path: root/examples/ising.cpp
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2019-12-13 16:18:03 -0500
committerJaron Kent-Dobias <jaron@kent-dobias.com>2019-12-13 16:18:03 -0500
commita75a3b44ffe9c99fc6d1c07ba4c4542b85f02790 (patch)
tree6281a4e84eb92105c3a4a8433d0aeef8271ec632 /examples/ising.cpp
parent4991418a416b75680737ec8f1e47b355b219728d (diff)
downloadc++-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.cpp')
-rw-r--r--examples/ising.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/ising.cpp b/examples/ising.cpp
index ecb296b..9702f02 100644
--- a/examples/ising.cpp
+++ b/examples/ising.cpp
@@ -59,14 +59,14 @@ int main(int argc, char *argv[]) {
graph<> G(D, L);
// initialize the system
- system<ising_t, ising_t, graph<>> S(G, T, Z, B);
+ wolff::system<ising_t, ising_t, graph<>> S(G, T, Z, B);
// 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);
// define function that generates self-inverse rotations
- std::function <ising_t(std::mt19937&, const system<ising_t, ising_t, graph<>>&, const graph<>::vertex&)> gen_r = gen_ising<graph<>>;
+ std::function <ising_t(std::mt19937&, const wolff::system<ising_t, ising_t, graph<>>&, const graph<>::vertex&)> gen_r = gen_ising<graph<>>;
// initailze the measurement object
simple_measurement A(S);