mirror of
https://github.com/triqs/dft_tools
synced 2024-11-09 07:33:47 +01:00
Merge pull request #171 from TRIQS/hschnait-patch-2
Bugfix in block_structure.py for multi-shell-systems
This commit is contained in:
commit
1dfe861164
@ -997,7 +997,7 @@ class BlockStructure(object):
|
|||||||
maxdiff = G_back[name] - G[name]
|
maxdiff = G_back[name] - G[name]
|
||||||
|
|
||||||
if space_to == 'solver' and self == G_struct: # do comparison in solver (ignore diff. in ignored orbitals)
|
if space_to == 'solver' and self == G_struct: # do comparison in solver (ignore diff. in ignored orbitals)
|
||||||
tmp = self.create_matrix(space='sumk')
|
tmp = self.create_matrix(space='sumk', ish=ish_from)
|
||||||
tmp[name] = maxdiff
|
tmp[name] = maxdiff
|
||||||
maxdiff = G_struct._convert_gf_or_matrix(tmp, self, ish_from=ish_from,
|
maxdiff = G_struct._convert_gf_or_matrix(tmp, self, ish_from=ish_from,
|
||||||
ish_to=ish_to,
|
ish_to=ish_to,
|
||||||
|
Loading…
Reference in New Issue
Block a user