3
0
mirror of https://github.com/triqs/dft_tools synced 2024-07-04 18:36:05 +02:00

Fixed bug in lattice gf that appeared when dc was not used

This commit is contained in:
Priyanka Seth 2015-04-15 09:48:31 +02:00
parent 87523ef231
commit a2dae173cf

View File

@ -259,8 +259,9 @@ class SumkDFT:
# Are we including Sigma?
if with_Sigma:
if with_dc: sigma_minus_dc = self.add_dc(iw_or_w)
Sigma_imp = getattr(self,"Sigma_imp_"+iw_or_w)
sigma_minus_dc = Sigma_imp.copy()
if with_dc: sigma_minus_dc = self.add_dc(iw_or_w)
if iw_or_w == "iw":
beta = Sigma_imp[0].mesh.beta # override beta if Sigma_iw is present
n_iw = len(Sigma_imp[0].mesh)