summaryrefslogtreecommitdiff
path: root/lib/include/wolff.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/include/wolff.hpp')
-rw-r--r--lib/include/wolff.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/include/wolff.hpp b/lib/include/wolff.hpp
index 7e909c8..7ad608f 100644
--- a/lib/include/wolff.hpp
+++ b/lib/include/wolff.hpp
@@ -10,7 +10,7 @@ namespace wolff{
template <class R_t, class X_t>
void system<R_t, X_t>::run_wolff(N_t N,
std::function <R_t(std::mt19937&, const system<R_t, X_t>&, v_t)> r_gen,
- measurement<R_t, X_t>& A, std::mt19937& rng) {
+ measurement<R_t, X_t>& A, std::mt19937& rng, double x) {
std::uniform_int_distribution<v_t> dist(0, nv - 1);
@@ -20,7 +20,7 @@ void system<R_t, X_t>::run_wolff(N_t N,
A.pre_cluster(n, N, *this, i0, r);
- this->flip_cluster(i0, r, rng, A);
+ this->flip_cluster(i0, r, rng, A, x);
A.post_cluster(n, N, *this);
}