3
0
mirror of https://github.com/triqs/dft_tools synced 2024-11-06 22:23:52 +01:00

fix bug in d8483a0 when n_corr != n_inequiv

This commit is contained in:
Gernot J. Kraberger 2016-10-03 16:56:04 +02:00
parent a64f778179
commit bb83c886fd

View File

@ -760,8 +760,8 @@ class SumkDFT(object):
for ish in range(self.n_inequiv_shells)]
if hloc is None:
hloc = self.eff_atomic_levels()
H_loc = [hloc[self.inequiv_to_corr[ish]]
for ish in range(self.n_inequiv_shells)]
H_loc = [hloc[self.corr_to_inequiv[ish]]
for ish in range(self.n_corr_shells)]
if include_shells is None:
include_shells = range(self.n_inequiv_shells)
@ -961,7 +961,8 @@ class SumkDFT(object):
Returns
-------
eff_atlevels : gf_struct_sumk like
Effective local Hamiltonian :math:`H^{loc}_{m m'}` for each correlated shell.
Effective local Hamiltonian :math:`H^{loc}_{m m'}` for each
inequivalent correlated shell.
"""