Closed merkelm closed 1 year ago
Thank you @merkelm for reporting this! PR #234 should fix this. @merkelm could you take a look if this makes sense and works for your case? The code is now simpler. I hope this still covers all use cases. Tests are passing here and in solid_dmft. If you agree I will merge it.
The code changes look good and it worked in the one test I did. Thanks for fixing this!
fixed merging #234
Description
When executing SumkDFT.extract_G_loc, it always uses
self.Sigma_imp
to initialize the Green's function object G_loc. Therefore, ifself.Sigma_imp
has not been set, it crashes. This probably should not happen when usingwith_Sigma=False
, now that SumkDFT has its own mesh object.The error message is the following:
Versions
This happens on the branch
unstable
and is probably not relevant for 3.1.x. I run on commit a072a54.