diff --git a/docs/pyerrors/correlators.html b/docs/pyerrors/correlators.html index 22113797..1e673cf6 100644 --- a/docs/pyerrors/correlators.html +++ b/docs/pyerrors/correlators.html @@ -816,7 +816,7 @@ 602 if variant == 'log': 603 newcontent = [] 604 for t in range(self.T - 1): - 605 if (self.content[t] is None) or (self.content[t + 1] is None): + 605 if ((self.content[t] is None) or (self.content[t + 1] is None)) or (self.content[t + 1][0].value == 0): 606 newcontent.append(None) 607 else: 608 newcontent.append(self.content[t] / self.content[t + 1]) @@ -836,7 +836,7 @@ 622 623 newcontent = [] 624 for t in range(self.T - 1): - 625 if (self.content[t] is None) or (self.content[t + 1] is None): + 625 if (self.content[t] is None) or (self.content[t + 1] is None) or (self.content[t + 1][0].value == 0): 626 newcontent.append(None) 627 # Fill the two timeslices in the middle of the lattice with their predecessors 628 elif variant == 'sinh' and t in [self.T / 2, self.T / 2 - 1]: @@ -851,7 +851,7 @@ 637 elif variant == 'arccosh': 638 newcontent = [] 639 for t in range(1, self.T - 1): - 640 if (self.content[t] is None) or (self.content[t + 1] is None) or (self.content[t - 1] is None): + 640 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): 641 newcontent.append(None) 642 else: 643 newcontent.append((self.content[t + 1] + self.content[t - 1]) / (2 * self.content[t])) @@ -2069,7 +2069,7 @@ 603 if variant == 'log': 604 newcontent = [] 605 for t in range(self.T - 1): - 606 if (self.content[t] is None) or (self.content[t + 1] is None): + 606 if ((self.content[t] is None) or (self.content[t + 1] is None)) or (self.content[t + 1][0].value == 0): 607 newcontent.append(None) 608 else: 609 newcontent.append(self.content[t] / self.content[t + 1]) @@ -2089,7 +2089,7 @@ 623 624 newcontent = [] 625 for t in range(self.T - 1): - 626 if (self.content[t] is None) or (self.content[t + 1] is None): + 626 if (self.content[t] is None) or (self.content[t + 1] is None) or (self.content[t + 1][0].value == 0): 627 newcontent.append(None) 628 # Fill the two timeslices in the middle of the lattice with their predecessors 629 elif variant == 'sinh' and t in [self.T / 2, self.T / 2 - 1]: @@ -2104,7 +2104,7 @@ 638 elif variant == 'arccosh': 639 newcontent = [] 640 for t in range(1, self.T - 1): - 641 if (self.content[t] is None) or (self.content[t + 1] is None) or (self.content[t - 1] is None): + 641 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): 642 newcontent.append(None) 643 else: 644 newcontent.append((self.content[t + 1] + self.content[t - 1]) / (2 * self.content[t])) @@ -3757,7 +3757,7 @@ Available choice: symmetric, improved, default: symmetric 603 if variant == 'log': 604 newcontent = [] 605 for t in range(self.T - 1): -606 if (self.content[t] is None) or (self.content[t + 1] is None): +606 if ((self.content[t] is None) or (self.content[t + 1] is None)) or (self.content[t + 1][0].value == 0): 607 newcontent.append(None) 608 else: 609 newcontent.append(self.content[t] / self.content[t + 1]) @@ -3777,7 +3777,7 @@ Available choice: symmetric, improved, default: symmetric 623 624 newcontent = [] 625 for t in range(self.T - 1): -626 if (self.content[t] is None) or (self.content[t + 1] is None): +626 if (self.content[t] is None) or (self.content[t + 1] is None) or (self.content[t + 1][0].value == 0): 627 newcontent.append(None) 628 # Fill the two timeslices in the middle of the lattice with their predecessors 629 elif variant == 'sinh' and t in [self.T / 2, self.T / 2 - 1]: @@ -3792,7 +3792,7 @@ Available choice: symmetric, improved, default: symmetric 638 elif variant == 'arccosh': 639 newcontent = [] 640 for t in range(1, self.T - 1): -641 if (self.content[t] is None) or (self.content[t + 1] is None) or (self.content[t - 1] is None): +641 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): 642 newcontent.append(None) 643 else: 644 newcontent.append((self.content[t + 1] + self.content[t - 1]) / (2 * self.content[t]))