Skip to content

Commit

Permalink
Patch max intersection bug
Browse files Browse the repository at this point in the history
  • Loading branch information
VikParuchuri committed Dec 11, 2024
1 parent 5fd116b commit 986d4ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions marker/schema/groups/page.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ def assemble_html(self, child_blocks, parent_structure=None):

def compute_line_block_intersections(self, provider_outputs: List[ProviderOutput]):
max_intersections = {}
if not self.children:
return max_intersections

blocks = [
block for block in self.children
Expand Down

0 comments on commit 986d4ed

Please sign in to comment.