3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-21 11:53:41 +01:00

Fixed a bug in 'density_of_states()'

Fixed the wrong index order in 'w_k' inside the loop evaluating
DOS.
This commit is contained in:
Oleg E. Peil 2015-11-10 14:09:40 +01:00
parent d3dd546cee
commit 63eb4c2089

View File

@ -441,7 +441,7 @@ class ProjectorShell:
ib = ib_g - ib1
ibn = ib_g - self.ib_min
proj_k = self.proj_win[io, isp, ik, :, ib]
w_k[ik, ib, io, :] = proj_k * proj_k.conj()
w_k[ik, ib, isp, io, :] = proj_k * proj_k.conj()
# eigv_ef = el_struct.eigvals[ik, ib, isp] - el_struct.efermi
itt = el_struct.kmesh['itet'].T