We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f308a3 commit 77b878bCopy full SHA for 77b878b
stumpy/stump.py
@@ -718,7 +718,7 @@ def stump(
718
ignore_trivial = core.check_ignore_trivial(T_A, T_B, ignore_trivial)
719
excl_zone = int(np.ceil(m / config.STUMPY_EXCL_ZONE_DENOM))
720
if ignore_trivial: # self-join
721
- core.check_window_size(m, max_size=n_A, n=n_A)
+ core.check_window_size(m, max_size=min(n_A, n_B), n=n_A)
722
diags = np.arange(excl_zone + 1, n_A - m + 1, dtype=np.int64)
723
else: # AB-join
724
core.check_window_size(m, max_size=min(n_A, n_B))
0 commit comments