Skip to content

Commit 1ea94ed

Browse files
committed
minor change
1 parent ff11e3a commit 1ea94ed

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

stumpy/sdp.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -333,15 +333,15 @@ def _sliding_dot_product(
333333
Time series or sequence
334334
335335
boundaries : list
336-
A nested list, where each item is a list
336+
A nested list, where each element is a list
337337
like [(LB_Q, UB_Q), (LB_T, UB_T), sdp_func]
338338
The `sdp_func` is used if LB_Q<=len(Q)<UB_Q
339339
and LB_T<=len(T)<UB_T
340340
341341
default_sdp : function
342342
A function to compute sliding_dot_product
343-
when `(len(Q), len(T))` does not fit into
344-
the provided boundaries.
343+
when `len(Q)` and/or `len(T)` does not fall
344+
in the provided boundaries
345345
346346
Returns
347347
-------
@@ -358,6 +358,5 @@ def _sliding_dot_product(
358358
):
359359
return sdp_func(Q, T)
360360

361-
# when the union of regions is not comprehensive
362-
# or sdp_func is None
361+
# when the union boundaries are not exhaustive
363362
return default_sdp(Q, T)

0 commit comments

Comments
 (0)