Skip to content

Commit

Permalink
Made D_diag's dtype=long
Browse files Browse the repository at this point in the history
  • Loading branch information
atztogo committed Dec 24, 2024
1 parent a4a424f commit 61712ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions phono3py/phonon/grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,7 @@ def _set_mesh_numbers(
self._D_diag = length2mesh(
length, self._lattice, rotations=symmetry_dataset.rotations
)
self._D_diag = np.array(self._D_diag, dtype="long")
if num_values == 9:
self._run_grg(
symmetry_dataset,
Expand Down

0 comments on commit 61712ee

Please sign in to comment.