From defd80f4df8824e00ea83ee4823617827d3acdda Mon Sep 17 00:00:00 2001 From: Yorusora Date: Mon, 12 May 2025 12:02:34 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E4=BF=AE=E5=A4=8D=E4=BA=86<=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E7=B2=97=E5=AF=B9=E9=BD=90>=E4=B8=AD=E8=AE=A1?= =?UTF-8?q?=E7=AE=97=E4=BA=92=E7=9B=B8=E5=85=B3=E6=97=B6=E5=9B=A0=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E9=95=BF=E5=BA=A6=E8=BF=87=E5=A4=A7=E8=80=8C=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E9=94=99=E8=AF=AF=E4=BB=8E=E8=80=8C=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E8=AE=A1=E7=AE=97=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- func/Module_approximately_align.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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: