mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-17 01:45:25 +08:00
Chore: Remove the use of np.int
This commit is contained in:
@@ -171,7 +171,7 @@ class Radar:
|
||||
for y in range(*self.shape[1]):
|
||||
if np.linalg.norm([x, y]) > radius:
|
||||
continue
|
||||
grid_center = np.round(delta * (x, y) + center).astype(np.int)
|
||||
grid_center = np.round(delta * (x, y) + center).astype(int)
|
||||
self.grids[(x, y)] = RadarGrid(location=(x, y), image=None, center=grid_center, config=self.config)
|
||||
|
||||
def __iter__(self):
|
||||
|
||||
Reference in New Issue
Block a user