diff --git a/pytriqs/gf/local/gf_desc.py b/pytriqs/gf/local/gf_desc.py index 0f4e148f..f1c458e0 100644 --- a/pytriqs/gf/local/gf_desc.py +++ b/pytriqs/gf/local/gf_desc.py @@ -258,6 +258,14 @@ def make_gf( py_type, c_tag, is_complex_data = True, is_im = False, has_tail = T getter = cfunction(calling_pattern="auto result = self_c.indices()[0]", signature = "std::vector()"), doc ="The indices(L)") + g.add_property(name = "indicesL", + getter = cfunction(calling_pattern="auto result = self_c.indices()[0]", signature = "std::vector()"), + doc ="The indices(L)") + + g.add_property(name = "indicesR", + getter = cfunction(calling_pattern="auto result = self_c.indices()[1]", signature = "std::vector()"), + doc ="The indices(R)") + # backward compatibility g.add_property(name = "N1", getter = cfunction(calling_pattern="int result = get_target_shape(self_c)[0]", signature = "int()"),