summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/wolff.c2
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);