diff --git a/func/Module_approximately_align.py b/func/Module_approximately_align.py index c86947a..47fae83 100644 --- a/func/Module_approximately_align.py +++ b/func/Module_approximately_align.py @@ -1020,7 +1020,7 @@ class Data: # 将序列分成一百份来计算 for i in range(100): tho_relate[i * len_calc // 100:(i + 1) * len_calc // 100] = Data.get_Correlate(a, v, array( - [i * len_calc // 100, (i + 1) * len_calc // 100])) + [i * len_calc // 100, (i + 1) * len_calc // 100], dtype=int64)) tho_relate = tho_relate / 10000 tho_relate2 = - tho_relate @@ -1046,7 +1046,7 @@ class Data: # 将序列分成一百份来计算 for i in range(100): abd_relate[i * len_calc // 100:(i + 1) * len_calc // 100] = Data.get_Correlate(a, v, array( - [i * len_calc // 100, (i + 1) * len_calc // 100])) + [i * len_calc // 100, (i + 1) * len_calc // 100], dtype=int64)) abd_relate = abd_relate / 10000 abd_relate2 = - abd_relate @@ -1087,7 +1087,7 @@ class Data: return Result().success(info=Constants.APPROXIMATELY_EPOCH_GET_FINISHED, data=result) @staticmethod - @njit("int64[:](int64[:],int64[:], int32[:])", nogil=True, parallel=True) + @njit("int64[:](int64[:],int64[:], int64[:])", nogil=True, parallel=True) def get_Correlate(a, v, between): begin, end = between if end == 0: