diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2018-04-23 18:48:14 -0400 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2018-04-23 18:48:14 -0400 |
commit | 8db4bf02f34bc9fbb201e7338bbe470f501597c3 (patch) | |
tree | a8fff02275c67cea41e5b4c1e7c6b81ed543955c /src/wolff_potts.c | |
parent | fbbc4d9655835c0d6fdf58f231e59d7007a99407 (diff) | |
download | c++-8db4bf02f34bc9fbb201e7338bbe470f501597c3.tar.gz c++-8db4bf02f34bc9fbb201e7338bbe470f501597c3.tar.bz2 c++-8db4bf02f34bc9fbb201e7338bbe470f501597c3.zip |
cluster size now critera for stopping simulation
Diffstat (limited to 'src/wolff_potts.c')
-rw-r--r-- | src/wolff_potts.c | 2 |
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++; } |