diff --git a/python/triqs_dft_tools/converters/plovasp/vaspio.py b/python/triqs_dft_tools/converters/plovasp/vaspio.py index 322bf47d..97e1d6f6 100644 --- a/python/triqs_dft_tools/converters/plovasp/vaspio.py +++ b/python/triqs_dft_tools/converters/plovasp/vaspio.py @@ -504,7 +504,7 @@ class Kpoints: self.kpts[ik, :] = list(map(float, sline[:3])) self.kwghts[ik] = float(sline[3]) - self.kwghts /= self.nktot + self.kwghts /= np.sum(self.kwghts) # Attempt to read tetrahedra # Skip comment line ("Tetrahedra")