diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2018-07-12 14:36:37 -0400 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2018-07-12 14:36:37 -0400 |
commit | 7fe25d035272fb5b369d97a89a82efc8d114b2a9 (patch) | |
tree | f8364b702fcf1255abfb169164da8f60a979fb34 /src | |
parent | ce54e63830421435115663436d120f2319bb711d (diff) | |
download | c++-7fe25d035272fb5b369d97a89a82efc8d114b2a9.tar.gz c++-7fe25d035272fb5b369d97a89a82efc8d114b2a9.tar.bz2 c++-7fe25d035272fb5b369d97a89a82efc8d114b2a9.zip |
fixed off by one error
Diffstat (limited to 'src')
-rw-r--r-- | src/analyze_correlations.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |