Skip to content

Commit 2c68716

Browse files
committed
minor change in comment
1 parent 77b878b commit 2c68716

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

stumpy/core.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -615,14 +615,13 @@ def check_window_size(m, max_size=None, n=None):
615615

616616
# If `l` is odd (`l == 2k+1`):
617617
# The central subsequence is at index `k`, with furthest neighbors at `0`
618-
# and `2k`, both `k == l // 2` indices away.
618+
# and `2k`, both `k == l // 2` indices away from the central-most subsequence.
619619

620620
# If `l` is even (`l == 2k`):
621621
# The central subsequences are at `k-1` and `k`. The furthest neighbor is
622622
# at `2k-1` for `k-1`, and `0` for `k`. In both cases, the subsequence
623623
# and its furthest neighbor are `k == l // 2` indices away.
624624
max_gap = l // 2
625-
626625
if max_gap <= excl_zone:
627626
msg = (
628627
f"The window size, 'm = {m}', may be too large and could lead to "

0 commit comments

Comments
 (0)