summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wolff.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wolff.c b/src/wolff.c
index a806681..9fb7eb3 100644
--- a/src/wolff.c
+++ b/src/wolff.c
@@ -232,7 +232,6 @@ int main(int argc, char *argv[]) {
double *Gammas = (double *)malloc((W + 1) * sizeof(double));
Gammas[0] = 1 + rho(autocorr, 0);
- printf("%g ", Gammas[0]);
for (uint64_t i = 0; i < W; i++) {
Gammas[1 + i] = rho(autocorr, 2 * i + 1) + rho(autocorr, 2 * i + 2);
}
@@ -244,7 +243,7 @@ int main(int argc, char *argv[]) {
}
}
- if (n == W) {
+ if (n == W + 1) {
printf("WARNING: correlation function never hit the noise floor.\n");
}