File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -429,7 +429,7 @@ def __init__(
429429 if self ._ignore_trivial :
430430 self ._diags = np .random .permutation (
431431 range (self ._excl_zone + 1 , self ._n_A - self ._m + 1 )
432- )
432+ ). astype ( np . int64 )
433433 if self ._diags .shape [0 ] == 0 : # pragma: no cover
434434 max_m = core .get_max_window_size (self ._T_A .shape [0 ])
435435 raise ValueError (
@@ -439,7 +439,7 @@ def __init__(
439439 else :
440440 self ._diags = np .random .permutation (
441441 range (- (self ._n_A - self ._m + 1 ) + 1 , self ._n_B - self ._m + 1 )
442- )
442+ ). astype ( np . int64 )
443443
444444 self ._n_threads = numba .config .NUMBA_NUM_THREADS
445445 self ._percentage = np .clip (percentage , 0.0 , 1.0 )
Original file line number Diff line number Diff line change @@ -478,7 +478,7 @@ def __init__(
478478 if self ._ignore_trivial :
479479 self ._diags = np .random .permutation (
480480 range (self ._excl_zone + 1 , self ._n_A - self ._m + 1 )
481- )
481+ ). astype ( np . int64 )
482482 if self ._diags .shape [0 ] == 0 : # pragma: no cover
483483 max_m = core .get_max_window_size (self ._T_A .shape [0 ])
484484 raise ValueError (
@@ -488,7 +488,7 @@ def __init__(
488488 else :
489489 self ._diags = np .random .permutation (
490490 range (- (self ._n_A - self ._m + 1 ) + 1 , self ._n_B - self ._m + 1 )
491- )
491+ ). astype ( np . int64 )
492492
493493 self ._n_threads = numba .config .NUMBA_NUM_THREADS
494494 self ._percentage = np .clip (percentage , 0.0 , 1.0 )
You can’t perform that action at this time.
0 commit comments