From 3d8aae46aed819c91c881d2586c36adf8c06e848 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Mon, 23 Oct 2017 12:24:35 -0400 Subject: stopped recording of autocorrelation when flag isn't set --- src/wolff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wolff.c') 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); -- cgit v1.2.3-70-g09d2