summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2017-11-03 00:18:36 -0400
committerJaron Kent-Dobias <jaron@kent-dobias.com>2017-11-03 00:18:36 -0400
commit0cde9f780942559625ff4a9162a71b1156947b96 (patch)
tree452b12832bd5742218f4255ea780272e19e67088
parent2bfb2a6daeb344e4a2a588200739200c35d147f5 (diff)
downloadc++-0cde9f780942559625ff4a9162a71b1156947b96.tar.gz
c++-0cde9f780942559625ff4a9162a71b1156947b96.tar.bz2
c++-0cde9f780942559625ff4a9162a71b1156947b96.zip
fixed conditions for new warning
-rw-r--r--src/wolff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wolff.c b/src/wolff.c
index b44ccab..0ab6a29 100644
--- a/src/wolff.c
+++ b/src/wolff.c
@@ -247,7 +247,7 @@ int main(int argc, char *argv[]) {
printf("WARNING: correlation function never hit the noise floor.\n");
}
- if (n < 1) {
+ if (n < 2) {
printf("WARNING: correlation function only has one nonnegative term.\n");
}