Skip to content

Commit 77b878b

Browse files
committed
minor change
1 parent 6f308a3 commit 77b878b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stumpy/stump.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ def stump(
718718
ignore_trivial = core.check_ignore_trivial(T_A, T_B, ignore_trivial)
719719
excl_zone = int(np.ceil(m / config.STUMPY_EXCL_ZONE_DENOM))
720720
if ignore_trivial: # self-join
721-
core.check_window_size(m, max_size=n_A, n=n_A)
721+
core.check_window_size(m, max_size=min(n_A, n_B), n=n_A)
722722
diags = np.arange(excl_zone + 1, n_A - m + 1, dtype=np.int64)
723723
else: # AB-join
724724
core.check_window_size(m, max_size=min(n_A, n_B))

0 commit comments

Comments
 (0)