Update c/enc/block_splitter_inc.h

Added a digit of precision
This commit is contained in:
Mahesh Madhav 2024-10-05 10:46:27 -07:00 committed by Eugene Kliuchnikov
parent cefec3ce9d
commit cec846f88e

View File

@ -129,7 +129,7 @@ static size_t FN(FindBlocks)(const DataType* data, const size_t length,
} }
/* More blocks for the beginning. */ /* More blocks for the beginning. */
if (byte_ix < 2000) { 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) { for (k = 0; k < num_histograms; ++k) {
cost[k] -= min_cost; cost[k] -= min_cost;