summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wolff.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wolff.c b/src/wolff.c
index 9fb7eb3..b44ccab 100644
--- a/src/wolff.c
+++ b/src/wolff.c
@@ -247,6 +247,10 @@ int main(int argc, char *argv[]) {
printf("WARNING: correlation function never hit the noise floor.\n");
}
+ if (n < 1) {
+ printf("WARNING: correlation function only has one nonnegative term.\n");
+ }
+
double *conv_Gamma = get_convex_minorant(n, Gammas);
double ttau = - 0.5;