Skip to content

Commit

Permalink
Update Unit-Tests for new gf_struct
Browse files Browse the repository at this point in the history
  • Loading branch information
hschnait committed Mar 8, 2022
1 parent c8806dd commit c2a53ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/triqs_dft_tools/block_structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ def __init__(self, gf_struct_sumk=None,
transformation=None):

# Ensure backwards-compatibility with pre-3.1.x gf_structs
# on second thought: would be better with gf_struct_flatten i guess... #TODO!
if gf_struct_sumk != None:
for gf_struct in gf_struct_sumk:
for i, block in enumerate(gf_struct):
Expand Down

0 comments on commit c2a53ab

Please sign in to comment.