From 2bfb2a6daeb344e4a2a588200739200c35d147f5 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Fri, 3 Nov 2017 00:09:51 -0400 Subject: added another warning --- src/wolff.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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; -- cgit v1.2.3-70-g09d2