Skip to content

Commit

Permalink
make compatible with numpy-2
Browse files Browse the repository at this point in the history
  • Loading branch information
yomichi committed Aug 26, 2024
1 parent 5ab458f commit e877fae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tool/dsqss/lattice.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def load_dict(self, param: MutableMapping) -> None:

self.sites = []
self.ints = []
ncells = np.product(self.size)
ncells = np.prod(self.size)
bid = 0
for icell in range(ncells):
cell_coord = np.array(util.index2coord(icell, self.size))
Expand Down

0 comments on commit e877fae

Please sign in to comment.