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:
parent
741829909f
commit
bb7394dfaf
@ -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 {
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user