3
0
mirror of https://github.com/triqs/dft_tools synced 2024-09-01 08:43:41 +02:00

Merge pull request #171 from TRIQS/hschnait-patch-2

Bugfix in block_structure.py for multi-shell-systems
This commit is contained in:
Alexander Hampel 2021-06-09 14:26:54 -04:00 committed by GitHub
commit 1dfe861164
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,