diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2017-11-03 00:09:51 -0400 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2017-11-03 00:09:51 -0400 |
commit | 2bfb2a6daeb344e4a2a588200739200c35d147f5 (patch) | |
tree | 3fae4325aaac795aa694c48831863d4e0db8f282 /src | |
parent | 0fb5be754c71bf854533988459d267498a837f1c (diff) | |
download | c++-2bfb2a6daeb344e4a2a588200739200c35d147f5.tar.gz c++-2bfb2a6daeb344e4a2a588200739200c35d147f5.tar.bz2 c++-2bfb2a6daeb344e4a2a588200739200c35d147f5.zip |
added another warning
Diffstat (limited to 'src')
-rw-r--r-- | src/wolff.c | 4 |
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; |