summaryrefslogtreecommitdiffstats
path: root/encoder.h
diff options
context:
space:
mode:
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()
{