From d226ca5c81a230217652ecc746d63b9d0e816988 Mon Sep 17 00:00:00 2001 From: fjosw Date: Tue, 8 Feb 2022 14:33:14 +0000 Subject: [PATCH] Documentation updated --- docs/pyerrors/correlators.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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):