diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2017-10-23 12:24:35 -0400 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2017-10-23 12:24:35 -0400 |
commit | 3d8aae46aed819c91c881d2586c36adf8c06e848 (patch) | |
tree | 00bf855bb566289837e3bd48909c299949207fe2 | |
parent | 52893989132d031857eac9463f40d74bf8bec37a (diff) | |
download | c++-3d8aae46aed819c91c881d2586c36adf8c06e848.tar.gz c++-3d8aae46aed819c91c881d2586c36adf8c06e848.tar.bz2 c++-3d8aae46aed819c91c881d2586c36adf8c06e848.zip |
stopped recording of autocorrelation when flag isn't set
-rw-r--r-- | src/wolff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wolff.c b/src/wolff.c index 191a5dd..45e45f2 100644 --- a/src/wolff.c +++ b/src/wolff.c @@ -161,7 +161,7 @@ int main(int argc, char *argv[]) { n_steps += tmp_flips; - if (n_runs > 0) { + if (n_runs > 0 && record_autocorrelation) { update_meas(corrE, s->H); if (batch_flips <= batch_size && batch_flips + tmp_flips > batch_size) { update_meas(corrmE, batch_mean_energy / n_batch); |