Skip to content

Commit e29cdca

Browse files
committed
minor change
1 parent 0a25af1 commit e29cdca

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

stumpy/core.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -632,9 +632,10 @@ def check_window_size(m, max_size=None, n=None):
632632
# position c=2, its farthest neighbor will be located at index 5 (to the
633633
# right of c=2) and, for the central-most subsequence at index position
634634
# c=3, its farthest neighbor will be located at index 0 (to the left of
635-
# c=3). In both cases, each central subsequence and its farthest neighbor
636-
# are 3 indices away. In general, it can be shown that the (index-wise)
637-
# distance from the central subsequence to its farthest neighbor is `l // 2`.
635+
# c=3). In both cases, the relative (index-wise) distance is 3,
636+
# which is simply `6 // 2`. In general, it can be shown that the
637+
# (index-wise) distance from the central-most subsequence to its
638+
# farthest neighbor is `l // 2`.
638639

639640
# Therefore, regardless if `l` is even or odd, for the central
640641
# subsequence for any time series, the index location of its

0 commit comments

Comments
 (0)