summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2018-07-12 14:39:55 -0400
committerJaron Kent-Dobias <jaron@kent-dobias.com>2018-07-12 14:39:55 -0400
commit9efebf3aad99612ff6227ef67bf59b74e386daab (patch)
tree8f3d49065297be39b96f797883ac484dd872eb2d /src
parent7fe25d035272fb5b369d97a89a82efc8d114b2a9 (diff)
downloadc++-9efebf3aad99612ff6227ef67bf59b74e386daab.tar.gz
c++-9efebf3aad99612ff6227ef67bf59b74e386daab.tar.bz2
c++-9efebf3aad99612ff6227ef67bf59b74e386daab.zip
some bug
Diffstat (limited to 'src')
-rw-r--r--src/analyze_correlations.cpp3
1 files changed, 1 insertions, 2 deletions
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;