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 e9e30e3 commit 33c8013Copy full SHA for 33c8013
tsfresh/feature_extraction/motifs.py
@@ -93,7 +93,7 @@ def _match_scores(data, pattern):
93
:return: the array of distance of pattern to each sliding window
94
:rtype: numpy.ndarray
95
"""
96
- assert len(data) > len(pattern)
+ assert len(data) >= len(pattern)
97
98
res = [_distance(x, pattern) for x in _array_of_sliding_windows(data, len(pattern))]
99
return np.array(res)
0 commit comments