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:
parent
b251929138
commit
f6e006c2e0
@ -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));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user