3
0
mirror of https://github.com/triqs/dft_tools synced 2024-06-29 08:24:54 +02:00

Update Unit-Tests for new gf_struct

This commit is contained in:
hschnait 2022-03-08 18:49:40 +01:00
parent c8806ddda8
commit c2a53ab835

View File

@ -122,6 +122,7 @@ class BlockStructure(object):
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):