From e671d38a1189a5f88b2ddadc1e1228c30e6abdb5 Mon Sep 17 00:00:00 2001 From: Janneuendorf Date: Tue, 14 Jun 2022 16:06:08 +0200 Subject: [PATCH] fix --- pyerrors/correlators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyerrors/correlators.py b/pyerrors/correlators.py index 54da64f8..921ae732 100644 --- a/pyerrors/correlators.py +++ b/pyerrors/correlators.py @@ -637,7 +637,7 @@ class Corr: elif variant == 'arccosh': newcontent = [] for t in range(1, self.T - 1): - if (self.content[t] is None) or (self.content[t + 1] is None) or (self.content[t - 1] is None) or (self.content[t + 1][0].value == 0) or (self.content[t - 1][0].value == 0): + if (self.content[t] is None) or (self.content[t + 1] is None) or (self.content[t - 1] is None) or (self.content[t][0].value == 0): newcontent.append(None) else: newcontent.append((self.content[t + 1] + self.content[t - 1]) / (2 * self.content[t]))