summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2018-04-23 18:48:14 -0400
committerJaron Kent-Dobias <jaron@kent-dobias.com>2018-04-23 18:48:14 -0400
commit8db4bf02f34bc9fbb201e7338bbe470f501597c3 (patch)
treea8fff02275c67cea41e5b4c1e7c6b81ed543955c /src
parentfbbc4d9655835c0d6fdf58f231e59d7007a99407 (diff)
downloadc++-8db4bf02f34bc9fbb201e7338bbe470f501597c3.tar.gz
c++-8db4bf02f34bc9fbb201e7338bbe470f501597c3.tar.bz2
c++-8db4bf02f34bc9fbb201e7338bbe470f501597c3.zip
cluster size now critera for stopping simulation
Diffstat (limited to 'src')
-rw-r--r--src/wolff_potts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wolff_potts.c b/src/wolff_potts.c
index d200b35..037940d 100644
--- a/src/wolff_potts.c
+++ b/src/wolff_potts.c
@@ -245,7 +245,7 @@ int main(int argc, char *argv[]) {
freqs[max_M_i]++;
}
- diff = fabs(meas_dc(sM[0][0]) / meas_c(sM[0][0]));
+ diff = fabs(meas_dx(clust) / clust->x);
n_runs++;
}