From cec846f88e7e632933773b2c3c43d3ad13992e96 Mon Sep 17 00:00:00 2001 From: Mahesh Madhav <67384846+heshpdx@users.noreply.github.com> Date: Sat, 5 Oct 2024 10:46:27 -0700 Subject: [PATCH] Update c/enc/block_splitter_inc.h Added a digit of precision --- c/enc/block_splitter_inc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c/enc/block_splitter_inc.h b/c/enc/block_splitter_inc.h index 6668d5e..bf62358 100644 --- a/c/enc/block_splitter_inc.h +++ b/c/enc/block_splitter_inc.h @@ -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;