Skip to content

Commit 3c0b813

Browse files
committed
Fixing typos.
1 parent 240433c commit 3c0b813

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/semchunk/semchunk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def merge_splits(splits: list[str], chunk_size: int, splitter: str, token_counte
5858
low = 0
5959
high = len(splits) + 1
6060
cumulative_lengths = list(accumulate([len(split) for split in splits], initial=0))
61-
cumulative_lengths.append(cumulative_lengths[-1],)
61+
cumulative_lengths.append(cumulative_lengths[-1])
6262

6363
while low < high:
6464
i = bisect_left(cumulative_lengths[low : high + 1], chunk_size * average)

0 commit comments

Comments
 (0)