Skip to content

Commit 64f06d9

Browse files
committed
update the queue trimming
1 parent eaf2c6d commit 64f06d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/pfp_lcp_doc.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -817,7 +817,7 @@ class pfp_lcp{
817817
// Method #2: heuristic since we remove all entries above a small lcp value (7)
818818
size_t curr_pos = 0;
819819
size_t records_to_remove_method1 = 0, records_to_remove_method2 = 0;
820-
bool method1_done = false, method2_done = true;
820+
bool method1_done = false, method2_done = false;
821821
if (pos % 10 == 0) {
822822
while (curr_pos < lcp_queue.size() && (!method1_done || !method2_done)) {
823823
uint8_t curr_ch = lcp_queue[curr_pos].bwt_ch;

0 commit comments

Comments
 (0)