Skip to content

Commit

Permalink
some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Dec 4, 2024
1 parent 0614cec commit 3e90f63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vyper/venom/passes/memmerging.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ def overlap(self, other: "_Interval") -> bool:
def merge(self, other: "_Interval", ok_dst_overlap: bool = True) -> bool:
assert self.src_start <= other.src_start, "bad bisect_left"

# both source and destionation have to be offset by same amount
# both source and destination have to be offset by same amount
if self.src_start - other.src_start != self.dst_start - other.dst_start:
return False

# the intervals must atleast touch each other
# the intervals must at least touch each other
if other.src_start > self.src_end:
return False
length = max(self.src_end, other.src_end) - self.src_start
Expand Down

0 comments on commit 3e90f63

Please sign in to comment.