From 7fe25d035272fb5b369d97a89a82efc8d114b2a9 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Thu, 12 Jul 2018 14:36:37 -0400 Subject: fixed off by one error --- src/analyze_correlations.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/analyze_correlations.cpp b/src/analyze_correlations.cpp index f0fbd15..c5b2399 100644 --- a/src/analyze_correlations.cpp +++ b/src/analyze_correlations.cpp @@ -164,7 +164,7 @@ int main (int argc, char *argv[]) { drop = N - pow(2, floor(log(N) / log(2))); } - if (N < drop) { + if (N <= drop) { printf("\033[F%lu: Number of steps %lu is less than %" PRIcount ", nothing done.\n", id, N, drop); break; } else { -- cgit v1.2.3-70-g09d2