mirror of
https://github.com/triqs/dft_tools
synced 2025-01-12 05:58:18 +01:00
gf: correct evaluator for gf imfreq (remove mesh_pt)
mesh_pt should NOT be done directly by (), it should be casted to matsubara_freq. Removed an old line of code which we forgot to clean when introducing matsubara_freq
This commit is contained in:
parent
a25f742b33
commit
a1a29d6c85
@ -70,8 +70,6 @@ namespace gfs {
|
|||||||
template <typename Target, typename Opt> struct evaluator<imfreq, Target, Opt> {
|
template <typename Target, typename Opt> struct evaluator<imfreq, Target, Opt> {
|
||||||
static constexpr int arity = 1;
|
static constexpr int arity = 1;
|
||||||
template <typename G> auto operator()(G const *g, int n) const DECL_AND_RETURN((*g)[n]);
|
template <typename G> auto operator()(G const *g, int n) const DECL_AND_RETURN((*g)[n]);
|
||||||
template <typename G>
|
|
||||||
auto operator()(G const *g, matsubara_freq_mesh::mesh_point_t const &p) const DECL_AND_RETURN((*g)[p.index()]);
|
|
||||||
|
|
||||||
// dispatch for 2x2 cases : matrix/scalar and tail/no_tail ( true means no_tail)
|
// dispatch for 2x2 cases : matrix/scalar and tail/no_tail ( true means no_tail)
|
||||||
template <typename G>
|
template <typename G>
|
||||||
|
Loading…
Reference in New Issue
Block a user