mirror of
https://github.com/triqs/dft_tools
synced 2024-10-31 11:13:46 +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;
|
||||
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, 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));
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user