3
0
mirror of https://github.com/triqs/dft_tools synced 2024-10-31 19:23:45 +01:00

gf. Correct evaluator imfreq

- overload for matsubara_freq, not the point.
This commit is contained in:
Olivier Parcollet 2013-12-04 12:11:48 +01:00
parent b251929138
commit f6e006c2e0

View File

@ -62,7 +62,7 @@ namespace gfs {
long n; long n;
evaluator_fnt_on_mesh() = default; evaluator_fnt_on_mesh() = default;
template <typename MeshType> evaluator_fnt_on_mesh(MeshType const &m, long p) { n = p; } template <typename MeshType> evaluator_fnt_on_mesh(MeshType const &m, long p) { n = p; }
template <typename MeshType> evaluator_fnt_on_mesh(MeshType const &m, matsubara_freq_mesh::mesh_point_t const &p) { n = p.n; } template <typename MeshType> evaluator_fnt_on_mesh(MeshType const &m, matsubara_freq const &p) { n = p.n; }
template <typename F> auto operator()(F const &f) const DECL_AND_RETURN(f(n)); template <typename F> auto operator()(F const &f) const DECL_AND_RETURN(f(n));
}; };