Skip to content

Commit

Permalink
Update c/enc/block_splitter_inc.h
Browse files Browse the repository at this point in the history
Added a digit of precision
  • Loading branch information
heshpdx authored and eustas committed Nov 19, 2024
1 parent cefec3c commit cec846f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c/enc/block_splitter_inc.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ static size_t FN(FindBlocks)(const DataType* data, const size_t length,
}
/* More blocks for the beginning. */
if (byte_ix < 2000) {
block_switch_cost *= 0.77 + 0.00003 * (double)byte_ix;
block_switch_cost *= 0.77 + 0.000035 * (double)byte_ix;
}
for (k = 0; k < num_histograms; ++k) {
cost[k] -= min_cost;
Expand Down

0 comments on commit cec846f

Please sign in to comment.