From 9efebf3aad99612ff6227ef67bf59b74e386daab Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Thu, 12 Jul 2018 14:39:55 -0400 Subject: some bug --- src/analyze_correlations.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/analyze_correlations.cpp b/src/analyze_correlations.cpp index c5b2399..6b8d28d 100644 --- a/src/analyze_correlations.cpp +++ b/src/analyze_correlations.cpp @@ -166,7 +166,6 @@ int main (int argc, char *argv[]) { if (N <= drop) { printf("\033[F%lu: Number of steps %lu is less than %" PRIcount ", nothing done.\n", id, N, drop); - break; } else { int M = N - drop; @@ -260,7 +259,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); } else { int M = N - drop; -- cgit v1.2.3-70-g09d2