summaryrefslogtreecommitdiff
path: root/src/wolff_ising.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wolff_ising.cpp')
-rw-r--r--src/wolff_ising.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wolff_ising.cpp b/src/wolff_ising.cpp
index 83b6448..e072d6a 100644
--- a/src/wolff_ising.cpp
+++ b/src/wolff_ising.cpp
@@ -88,7 +88,7 @@ int main(int argc, char *argv[]) {
state_t <z2_t, ising_t> s(D, L, T, Z, B);
// define function that generates self-inverse rotations
- std::function <z2_t(gsl_rng *, const state_t <z2_t, ising_t> *)> gen_R = [] (gsl_rng *, const state_t <z2_t, ising_t> *) -> z2_t {
+ std::function <z2_t(gsl_rng *, ising_t)> gen_R = [] (gsl_rng *, ising_t s) -> z2_t {
z2_t rot;
rot.x = true;
return rot;