From b7d7c656cef32f228db880cb72cdb90dfa3c8787 Mon Sep 17 00:00:00 2001 From: Michel Ferrero Date: Thu, 19 Dec 2013 11:54:44 +0100 Subject: [PATCH] Fix a missing mask in tail fit (imfreq) I applied the patch provided by Thomas. modified: pytriqs/gf/local/gf_imfreq.py --- pytriqs/gf/local/gf_imfreq.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytriqs/gf/local/gf_imfreq.py b/pytriqs/gf/local/gf_imfreq.py index 3b006929..301ce612 100644 --- a/pytriqs/gf/local/gf_imfreq.py +++ b/pytriqs/gf/local/gf_imfreq.py @@ -136,6 +136,6 @@ class GfImFreq ( GfGeneric, GfImFreq_cython ) : self.tail[order-1][n1,n2] = numpy.array([[ known_coef[n1][n2][order] ]]) for order, moment in enumerate(sol[0]): self.tail[len(known_coef[n1][n2])+order-1][n1,n2] = numpy.array([[ moment ]]) - + self.tail.mask.fill(order_max) # Replace then end of the Green's function by the tail if replace_tail: self.replace_by_tail(ninit);