Skip to content

Commit 6b51eac

Browse files
authored
benchmarks: fix np.int --> np.int64 (#5150)
1 parent 3189d48 commit 6b51eac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmarks/benchmarks/ag_methods.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ def setup(self, n_atoms, n_compounds, homogeneous, contiguous):
347347
).T.ravel()
348348
else:
349349
compound_indices = np.sort(
350-
np.floor(rg.random(n_atoms) * n_compounds).astype(np.int)
350+
np.floor(rg.random(n_atoms) * n_compounds).astype(np.int64)
351351
)
352352

353353
unique_indices = np.unique(compound_indices)

0 commit comments

Comments
 (0)