Skip to content

Commit 6be50e4

Browse files
committed
reorder reads better
1 parent a5f76ad commit 6be50e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/boilerpipe/document/text_block.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ def merge_next(other)
6666
@num_wrapped_lines += other.num_wrapped_lines
6767
@offset_blocks_start = [@offset_blocks_start, other.offset_blocks_start].min
6868
@offset_blocks_end = [@offset_blocks_end, other.offset_blocks_end].max
69-
init_densities
7069
@content |= other.is_content?
70+
init_densities
7171

7272
if other.labels
7373
if @labels.nil?

0 commit comments

Comments
 (0)