summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2017-10-23 14:23:23 -0400
committerJaron Kent-Dobias <jaron@kent-dobias.com>2017-10-23 14:23:23 -0400
commit2a35ef2c651f73e698af54b9ae3c4779a7f44630 (patch)
tree862ea31ddf85653b7382e4365dfb6c024d69c202 /src
parent3d8aae46aed819c91c881d2586c36adf8c06e848 (diff)
downloadc++-2a35ef2c651f73e698af54b9ae3c4779a7f44630.tar.gz
c++-2a35ef2c651f73e698af54b9ae3c4779a7f44630.tar.bz2
c++-2a35ef2c651f73e698af54b9ae3c4779a7f44630.zip
stopping conditiotns given by equilibrium measurements
Diffstat (limited to 'src')
-rw-r--r--src/wolff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wolff.c b/src/wolff.c
index 45e45f2..97d1625 100644
--- a/src/wolff.c
+++ b/src/wolff.c
@@ -195,7 +195,7 @@ int main(int argc, char *argv[]) {
if (M_stop) {
diff = fabs(eM->dx / eM->x);
} else {
- diff = fabs(M->dc / M->c);
+ diff = fabs(eM->dc / eM->c);
}
clust_per_sweep = add_to_avg(clust_per_sweep, n_clust * 1. / n, n_runs);