diff --git a/docs/pyerrors/correlators.html b/docs/pyerrors/correlators.html
index 657220df..1cb871af 100644
--- a/docs/pyerrors/correlators.html
+++ b/docs/pyerrors/correlators.html
@@ -556,8 +556,8 @@
new_content.append(array.copy())
def wrap(i):
- if i >= self.T:
- return i - self.T
+ while i >= self.T:
+ i -= self.T
return i
for t in range(self.T):
@@ -1633,8 +1633,8 @@
new_content.append(array.copy())
def wrap(i):
- if i >= self.T:
- return i - self.T
+ while i >= self.T:
+ i -= self.T
return i
for t in range(self.T):
@@ -2874,8 +2874,8 @@ if this argument is set, a list of vectors (len=self.T) is returned. If it is le
new_content.append(array.copy())
def wrap(i):
- if i >= self.T:
- return i - self.T
+ while i >= self.T:
+ i -= self.T
return i
for t in range(self.T):