File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -51,10 +51,11 @@ class SparseRecovery {
5151 size_t current_cfr_size = max_recovery_size;
5252 size_t current_cfr_idx = 0 ;
5353 while (current_cfr_size > cleanup_sketch_support) {
54- size_t power_of_two_rounded_size = 1 << (size_t ) ceil (log2 (current_cfr_size));
54+ // size_t power_of_two_rounded_size = 1 << (size_t) ceil(log2(current_cfr_size));
5555 // TODO - examine whether it's better to do something else.
5656 // ROUND THE SIZE TO A POWER OF TWO -- important for maintaining uniformity.
57- auto current_start_idx = starter_indices[current_cfr_idx++] + power_of_two_rounded_size;
57+ // auto current_start_idx = starter_indices[current_cfr_idx++] + power_of_two_rounded_size;
58+ auto current_start_idx = starter_indices.back () + current_cfr_size;
5859 starter_indices.push_back (current_start_idx);
5960 current_cfr_size = ceil (current_cfr_size * reduction_factor);
6061 }
You can’t perform that action at this time.
0 commit comments