Skip to content

Commit 3c87e0d

Browse files
Update stumpy/core.py
1 parent b7494d9 commit 3c87e0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stumpy/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ def check_window_size(m, max_size=None, n=None):
611611
# For any `i` and its corresponding `jmax`, we have:
612612
# |i - jmax| >= d > excl_zone
613613

614-
# The minimum |i - jmax| is achieved when `S_i` is the middle ubsequence,
614+
# The minimum |i - jmax| is achieved when `S_i` is the middle subsequence,
615615
# i.e. i == int(ceil((n - m) / 2)), and its corresponding jmax is 0. Hence,
616616
# we just need to make sure the following inequity is satisfied:
617617
# |int(ceil((n - m) / 2)) - 0| > excl_zone`

0 commit comments

Comments
 (0)