diff --git a/triqs/gf/meshes/product.hpp b/triqs/gf/meshes/product.hpp index 95627f2f..7882024c 100644 --- a/triqs/gf/meshes/product.hpp +++ b/triqs/gf/meshes/product.hpp @@ -165,6 +165,9 @@ namespace triqs { namespace gf { template auto get_point(P const & p) DECL_AND_RETURN( std::get( p.mesh()->components() ).index_to_point( std::get(p.components_tuple()).index() ) ); + template + auto get_component(P const & p) DECL_AND_RETURN( std::get(p.components_tuple())); + // C++14 //auto get_point(P const & p) { return std::get (p.mesh()->components()).index_to_point( std::get(p.components_tuple()));}