From 3e0d53564a1eb8d448f956c227935f78e92c03e4 Mon Sep 17 00:00:00 2001 From: Olivier Parcollet Date: Fri, 30 May 2014 22:27:13 +0200 Subject: [PATCH] gf: triqs_auto_assign for gf_view g[k][om] : missing an overload for views --- triqs/gfs/gf.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/triqs/gfs/gf.hpp b/triqs/gfs/gf.hpp index 993ce51b..2fbf325a 100644 --- a/triqs/gfs/gf.hpp +++ b/triqs/gfs/gf.hpp @@ -574,6 +574,12 @@ namespace gfs { gf_const_view g; }; + // Cf gf + template + void triqs_clef_auto_assign(gf_view &g, RHS const &rhs) { + triqs_clef_auto_assign( static_cast&>(g), rhs); + } + // ---------------------------------- slicing ------------------------------------ // slice