mirror of
https://github.com/triqs/dft_tools
synced 2024-12-22 20:34:38 +01:00
Merge pull request #173 from thenoursehorse/plovasp-kweight-fix
Normalization of kwghts in plovasp
This commit is contained in:
commit
d5401cb4c0
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user