mirror of
https://github.com/triqs/dft_tools
synced 2024-12-31 16:45:49 +01:00
fixed normalization of kwghts to allow symmetries - very tunnel visioned and haven't checked anything else
This commit is contained in:
parent
db8a7e543e
commit
75a7749180
@ -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