mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-14 19:43:41 +02:00
fix: bug in Corr.spaghetti_plot fixed which appeared in connection with
the replica separator. Test adjusted.
This commit is contained in:
parent
850be29d20
commit
23708694d6
2 changed files with 3 additions and 2 deletions
|
@ -916,7 +916,7 @@ class Corr:
|
|||
if self.N != 1:
|
||||
raise Exception("Correlator needs to be projected first.")
|
||||
|
||||
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]))
|
||||
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]))
|
||||
x0_vals = [n for (n, o) in zip(np.arange(self.T), self.content) if o is not None]
|
||||
|
||||
for name in mc_names:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue