summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2018-07-11 16:23:23 -0400
committerJaron Kent-Dobias <jaron@kent-dobias.com>2018-07-11 16:23:23 -0400
commit3e8d1116699264e2cea53733ec8a7d6780b5e285 (patch)
tree65d9683fe8c698dbd792d8561354a1726f5ec142
parent0d6f59c6b1901c999162624276eac0c265690c18 (diff)
downloadc++-3e8d1116699264e2cea53733ec8a7d6780b5e285.tar.gz
c++-3e8d1116699264e2cea53733ec8a7d6780b5e285.tar.bz2
c++-3e8d1116699264e2cea53733ec8a7d6780b5e285.zip
changed to use all data
-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;