File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -197,13 +197,10 @@ def test_check_window_size_excl_zone_case1():
197197 # with non-trivial neighbor
198198 T = np .random .rand (64 )
199199 m = 60
200- last_start_index = len (T ) - m
201-
202- excl_zone = int (np .ceil (m / config .STUMPY_EXCL_ZONE_DENOM ))
203200
204201 with pytest .warns (UserWarning ):
205202 core .check_window_size (
206- m , max_size = len (T ), excl_zone = excl_zone , last_start_index = last_start_index
203+ m , max_size = len (T ), n = len ( T )
207204 )
208205
209206
@@ -212,13 +209,10 @@ def test_check_window_size_excl_zone_case2():
212209 # that has no non-trivial neighbor
213210 T = np .random .rand (64 )
214211 m = 48
215- last_start_index = len (T ) - m
216-
217- excl_zone = int (np .ceil (m / config .STUMPY_EXCL_ZONE_DENOM ))
218212
219213 with pytest .warns (UserWarning ):
220214 core .check_window_size (
221- m , max_size = len (T ), excl_zone = excl_zone , last_start_index = last_start_index
215+ m , max_size = len (T ), n = len ( T )
222216 )
223217
224218
You can’t perform that action at this time.
0 commit comments