summaryrefslogtreecommitdiff
path: root/src/wolff_ising.cpp
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2018-07-23 13:51:13 -0400
committerJaron Kent-Dobias <jaron@kent-dobias.com>2018-07-23 13:51:13 -0400
commit639552a2649139ba14363f30daa20786532b21b0 (patch)
tree624ef3537222183d5474d3a2d05a8bf09611d330 /src/wolff_ising.cpp
parentdd2c47db3512658858685c83dd772603203aaab1 (diff)
downloadc++-639552a2649139ba14363f30daa20786532b21b0.tar.gz
c++-639552a2649139ba14363f30daa20786532b21b0.tar.bz2
c++-639552a2649139ba14363f30daa20786532b21b0.zip
implemented the discrete gaussian model for roughening
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;