diff --git a/triqs/gfs/local/fourier_matsubara.hpp b/triqs/gfs/local/fourier_matsubara.hpp index a4c12790..86943f05 100644 --- a/triqs/gfs/local/fourier_matsubara.hpp +++ b/triqs/gfs/local/fourier_matsubara.hpp @@ -50,13 +50,13 @@ namespace gfs { gf_keeper const& L); template gf_mesh make_mesh_fourier_compatible(gf_mesh const& m) { - int L = m.size() - (m.kind() == full_bins ? 1 : 0); + int L = (m.size() - (m.kind() == full_bins ? 1 : 0))/2; return {m.domain(), L}; } template gf_mesh make_mesh_fourier_compatible(gf_mesh const& m, mesh_kind mk = full_bins) { - int L = m.size() + (mk == full_bins ? 1 : 0); + int L = 2*m.size() + (mk == full_bins ? 1 : 0); return {m.domain(), L}; }