From 61712ee520ce37d1fbfc7bfe99571709b0ab43c7 Mon Sep 17 00:00:00 2001 From: Atsushi Togo Date: Tue, 24 Dec 2024 13:30:05 +0900 Subject: [PATCH] Made D_diag's dtype=long --- phono3py/phonon/grid.py | 1 + 1 file changed, 1 insertion(+) diff --git a/phono3py/phonon/grid.py b/phono3py/phonon/grid.py index c34bcc9f..5997de66 100644 --- a/phono3py/phonon/grid.py +++ b/phono3py/phonon/grid.py @@ -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,