mirror of
https://github.com/triqs/dft_tools
synced 2024-12-22 12:23:41 +01:00
Fixed bug in lattice gf that appeared when dc was not used
This commit is contained in:
parent
87523ef231
commit
a2dae173cf
@ -259,8 +259,9 @@ class SumkDFT:
|
|||||||
|
|
||||||
# Are we including Sigma?
|
# Are we including Sigma?
|
||||||
if with_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_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":
|
if iw_or_w == "iw":
|
||||||
beta = Sigma_imp[0].mesh.beta # override beta if Sigma_iw is present
|
beta = Sigma_imp[0].mesh.beta # override beta if Sigma_iw is present
|
||||||
n_iw = len(Sigma_imp[0].mesh)
|
n_iw = len(Sigma_imp[0].mesh)
|
||||||
|
Loading…
Reference in New Issue
Block a user