In the case of SK.n_corr_shells != SK.n_inequiv_shells the BlockStructure-function pick_gf_struct_sumk was not working properly.
pick_gf_struct_sumk expected a list of length n_corr_shells (correct would be n_inequiv_shells), which it - after some transformations - gave to pick_gf_struct_solver to do the mapping. pick_gf_struct_solver didn't check the correct length of the input at all (which would have caught the error) and then just used the first n_iequiv_shells entries to do the mapping, leading to unexpected behaviour.
In the case of
SK.n_corr_shells
!=SK.n_inequiv_shells
the BlockStructure-functionpick_gf_struct_sumk
was not working properly.pick_gf_struct_sumk
expected a list of lengthn_corr_shells
(correct would ben_inequiv_shells
), which it - after some transformations - gave topick_gf_struct_solver
to do the mapping.pick_gf_struct_solver
didn't check the correct length of the input at all (which would have caught the error) and then just used the firstn_iequiv_shells
entries to do the mapping, leading to unexpected behaviour.