1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 01:38:21 +08:00

Chore: Remove the use of np.int

This commit is contained in:
LmeSzinc
2023-05-30 10:28:51 +08:00
parent 4382782130
commit 18cba1f9d0
5 changed files with 8 additions and 8 deletions

View File

@@ -769,7 +769,7 @@ class ResearchPool:
Returns:
np.ndarray: Shape (188,), lower index means to be selected first. 1000 for not selected projects.
"""
out = np.ones((PROJECTS.count,), dtype=np.int64) * 1000
out = np.ones((PROJECTS.count,), dtype=int) * 1000
for index, project in enumerate(self.filter):
if index != self.reset_index:
out[project.index] = index