summaryrefslogtreecommitdiffstats
path: root/encoder.h
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 10:09:34 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 10:09:34 +0000
commit72164cf0d95398b5f82d96b9be1f931e06f8627c (patch)
tree928bd21186c7108845bca89226f712e5f089f9d1 /encoder.h
parentAdding upstream version 1.17. (diff)
downloadlzip-72164cf0d95398b5f82d96b9be1f931e06f8627c.tar.xz
lzip-72164cf0d95398b5f82d96b9be1f931e06f8627c.zip
Adding upstream version 1.18~pre1.upstream/1.18_pre1
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'encoder.h')
-rw-r--r--encoder.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/encoder.h b/encoder.h
index 9579a85..8bb7258 100644
--- a/encoder.h
+++ b/encoder.h
@@ -275,7 +275,10 @@ public:
rep_len_prices( rep_len_model, match_len_limit ),
pending_num_pairs( 0 ),
num_dis_slots( 2 * real_bits( dictionary_size - 1 ) )
- {}
+ {
+ trials[1].prev_index = 0;
+ trials[1].prev_index2 = single_step_trial;
+ }
void reset()
{