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

gf: Fix for make_fourier in scalar_valued mode

This commit is contained in:
Olivier Parcollet 2013-10-30 13:19:33 +01:00
parent 928ef222cc
commit 0f324df3ef

View File

@ -612,7 +612,10 @@ namespace triqs { namespace gfs {
target_shape_t front_pop() const { // this make the get_target_shape function works in this case... target_shape_t front_pop() const { // this make the get_target_shape function works in this case...
return {}; return {};
} }
target_shape_t() = default;
template <typename T> target_shape_t(utility::mini_vector<T, 0>) {}
}; };
typedef typename gf_t::mesh_t mesh_t; typedef typename gf_t::mesh_t mesh_t;
static typename gf_t::data_t make_data(mesh_t const &m, target_shape_t shape) { static typename gf_t::data_t make_data(mesh_t const &m, target_shape_t shape) {