summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/analyze_correlations.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/analyze_correlations.cpp b/src/analyze_correlations.cpp
index 0eca56d..e5cd200 100644
--- a/src/analyze_correlations.cpp
+++ b/src/analyze_correlations.cpp
@@ -14,7 +14,8 @@ double *compute_OO(count_t length, double *tmp_data, count_t N) {
exit(EXIT_FAILURE);
}
- int better_N = pow(2, floor(log(N) / log(2)));
+// int better_N = pow(2, floor(log(N) / log(2)));
+ int better_N = N;
double *data = tmp_data + (N - better_N);
OO[0] = (double)better_N;