Skip to content

Commit a0daba4

Browse files
committed
np.int to np.int64
1 parent 7c690ef commit a0daba4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

code/splicebuster/noiseprint/feat_spam/spam_np_opt.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ def computeSpamRes(res, params, weights = list(), normalize = True):
6161
indexL = int((dim - 1) / 2)
6262

6363
shapeR = np.asarray(resQ.shape[:2]) - dim + 1
64-
resH = np.zeros(shapeR, dtype = np.int)
65-
resV = np.zeros(shapeR, dtype = np.int)
64+
resH = np.zeros(shapeR, dtype = np.int64)
65+
resV = np.zeros(shapeR, dtype = np.int64)
6666

6767
for indexP in range(ordCooc):
6868
nn = (n ** indexP)

0 commit comments

Comments
 (0)