From bb7394dfaf42fd11282f62564a0b7d82ee1f9e85 Mon Sep 17 00:00:00 2001 From: Olivier Parcollet Date: Fri, 30 Aug 2013 16:08:40 +0200 Subject: [PATCH] gf : correction to legendre. a error in a trait. --- triqs/gfs/data_proxies.hpp | 2 +- triqs/gfs/legendre.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/triqs/gfs/data_proxies.hpp b/triqs/gfs/data_proxies.hpp index 328914d9..3e8605d2 100644 --- a/triqs/gfs/data_proxies.hpp +++ b/triqs/gfs/data_proxies.hpp @@ -92,7 +92,7 @@ namespace triqs { namespace gfs { template static void rebind (storage_view_t & data, RHS && rhs) { data.clear(); for (auto & x : rhs.data()) data.push_back(x);} }; - //---------------------------- vector ---------------------------------- + //---------------------------- lambda ---------------------------------- template struct data_proxy_lambda { diff --git a/triqs/gfs/legendre.hpp b/triqs/gfs/legendre.hpp index 5808ff4c..71f23a86 100644 --- a/triqs/gfs/legendre.hpp +++ b/triqs/gfs/legendre.hpp @@ -62,7 +62,7 @@ namespace triqs { namespace gfs { template struct factories { typedef gf gf_t; - typedef typename gf_mesh::type mesh_t; + typedef gf_mesh mesh_t; static gf_t make_gf(double beta, statistic_enum S, tqa::mini_vector shape, size_t n_leg) { typename gf_t::data_regular_t A(shape.front_append(n_leg)); A() = 0;