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

Fix for previous bugfix

This commit is contained in:
Manuel Zingl 2015-04-15 15:35:03 +02:00
parent a2dae173cf
commit 3d577c294e

View File

@ -260,7 +260,7 @@ class SumkDFT:
# Are we including Sigma? # Are we including Sigma?
if with_Sigma: if with_Sigma:
Sigma_imp = getattr(self,"Sigma_imp_"+iw_or_w) Sigma_imp = getattr(self,"Sigma_imp_"+iw_or_w)
sigma_minus_dc = Sigma_imp.copy() sigma_minus_dc = [s.copy() for s in Sigma_imp]
if with_dc: sigma_minus_dc = self.add_dc(iw_or_w) 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