3
0
mirror of https://github.com/triqs/dft_tools synced 2024-06-29 00:15:00 +02:00

fixed normalization of kwghts to allow symmetries - very tunnel visioned and haven't checked anything else

This commit is contained in:
H. L. Nourse 2021-06-22 14:44:17 +10:00
parent db8a7e543e
commit 75a7749180

View File

@ -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")