From 74469ad5b0cc8d8ac95cc4ed8d3ad3e47e57e875 Mon Sep 17 00:00:00 2001 From: Olivier Parcollet Date: Fri, 27 Dec 2013 15:18:46 +0100 Subject: [PATCH] gf: generalize the constructor of gf_mesh from domain - to add "positive_only" flags, in the case we need both negative and positive frequencies in matsubara. --- triqs/gfs/imfreq.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/triqs/gfs/imfreq.hpp b/triqs/gfs/imfreq.hpp index d993c929..ecc1f725 100644 --- a/triqs/gfs/imfreq.hpp +++ b/triqs/gfs/imfreq.hpp @@ -36,7 +36,7 @@ namespace gfs { static double m1(double beta) { return std::acos(-1) / beta; } gf_mesh() = default; gf_mesh(B const &x) : B(x) {} // enables also construction from another Opt - gf_mesh(typename B::domain_t const &d, int Nmax = 1025) : B(d, Nmax, true) {} + gf_mesh(typename B::domain_t const &d, int Nmax = 1025, bool positive_only = true) : B(d, Nmax, positive_only) {} gf_mesh(double beta, statistic_enum S, int Nmax = 1025) : gf_mesh({beta, S}, Nmax) {} };