Skip to content

Commit

Permalink
Fix MAX_ENDPOINT.
Browse files Browse the repository at this point in the history
  • Loading branch information
salt-die committed Nov 26, 2023
1 parent 845be63 commit 6e0c39c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mind_the_gaps/gaps.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def _merge(
inside_b: bool = False
inside_region: bool = False

MAX_ENDPOINT = Endpoint(PositiveInfinity(), "[")
MAX_ENDPOINT = Endpoint(PositiveInfinity(), "(")
while i < len(a) or j < len(b):
current_a = a[i] if i < len(a) else MAX_ENDPOINT
current_b = b[j] if j < len(b) else MAX_ENDPOINT
Expand Down

0 comments on commit 6e0c39c

Please sign in to comment.