3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-27 06:43:40 +01:00

gf : correction to legendre.

a error in a trait.
This commit is contained in:
Olivier Parcollet 2013-08-30 16:08:40 +02:00
parent 741829909f
commit bb7394dfaf
2 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ namespace triqs { namespace gfs {
template<typename RHS> static void rebind (storage_view_t & data, RHS && rhs) { data.clear(); for (auto & x : rhs.data()) data.push_back(x);} template<typename RHS> static void rebind (storage_view_t & data, RHS && rhs) { data.clear(); for (auto & x : rhs.data()) data.push_back(x);}
}; };
//---------------------------- vector ---------------------------------- //---------------------------- lambda ----------------------------------
template<typename F> struct data_proxy_lambda { template<typename F> struct data_proxy_lambda {

View File

@ -62,7 +62,7 @@ namespace triqs { namespace gfs {
template<typename Opt> struct factories<legendre, matrix_valued,Opt> { template<typename Opt> struct factories<legendre, matrix_valued,Opt> {
typedef gf<legendre, matrix_valued,Opt> gf_t; typedef gf<legendre, matrix_valued,Opt> gf_t;
typedef typename gf_mesh<legendre, Opt>::type mesh_t; typedef gf_mesh<legendre, Opt> mesh_t;
static gf_t make_gf(double beta, statistic_enum S, tqa::mini_vector<size_t,2> shape, size_t n_leg) { static gf_t make_gf(double beta, statistic_enum S, tqa::mini_vector<size_t,2> shape, size_t n_leg) {
typename gf_t::data_regular_t A(shape.front_append(n_leg)); A() = 0; typename gf_t::data_regular_t A(shape.front_append(n_leg)); A() = 0;