From a1a29d6c859690a372baa9ed88785175f12f6c30 Mon Sep 17 00:00:00 2001 From: Olivier Parcollet Date: Fri, 28 Feb 2014 15:57:34 +0100 Subject: [PATCH] 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 --- triqs/gfs/imfreq.hpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/triqs/gfs/imfreq.hpp b/triqs/gfs/imfreq.hpp index 885a08e6..ba6bddc8 100644 --- a/triqs/gfs/imfreq.hpp +++ b/triqs/gfs/imfreq.hpp @@ -70,8 +70,6 @@ namespace gfs { template struct evaluator { static constexpr int arity = 1; template auto operator()(G const *g, int n) const DECL_AND_RETURN((*g)[n]); - template - 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) template