From e1682cae79f0d91d3eef30acdc14f2194cd99c86 Mon Sep 17 00:00:00 2001 From: fjosw Date: Wed, 7 Dec 2022 12:25:23 +0000 Subject: [PATCH] Documentation updated --- docs/pyerrors/correlators.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/pyerrors/correlators.html b/docs/pyerrors/correlators.html index 0e34e988..a02c18ba 100644 --- a/docs/pyerrors/correlators.html +++ b/docs/pyerrors/correlators.html @@ -1129,7 +1129,7 @@ 916 if self.N != 1: 917 raise Exception("Correlator needs to be projected first.") 918 - 919 mc_names = list(set([item for sublist in [o[0].mc_names for o in self.content if o is not None] for item in sublist])) + 919 mc_names = list(set([item for sublist in [sum(map(o[0].e_content.get, o[0].mc_names), []) for o in self.content if o is not None] for item in sublist])) 920 x0_vals = [n for (n, o) in zip(np.arange(self.T), self.content) if o is not None] 921 922 for name in mc_names: @@ -2445,7 +2445,7 @@ 917 if self.N != 1: 918 raise Exception("Correlator needs to be projected first.") 919 - 920 mc_names = list(set([item for sublist in [o[0].mc_names for o in self.content if o is not None] for item in sublist])) + 920 mc_names = list(set([item for sublist in [sum(map(o[0].e_content.get, o[0].mc_names), []) for o in self.content if o is not None] for item in sublist])) 921 x0_vals = [n for (n, o) in zip(np.arange(self.T), self.content) if o is not None] 922 923 for name in mc_names: @@ -4365,7 +4365,7 @@ Optional title of the figure. 917 if self.N != 1: 918 raise Exception("Correlator needs to be projected first.") 919 -920 mc_names = list(set([item for sublist in [o[0].mc_names for o in self.content if o is not None] for item in sublist])) +920 mc_names = list(set([item for sublist in [sum(map(o[0].e_content.get, o[0].mc_names), []) for o in self.content if o is not None] for item in sublist])) 921 x0_vals = [n for (n, o) in zip(np.arange(self.T), self.content) if o is not None] 922 923 for name in mc_names: