From f374d016c10a4e982937d0644fa2daa68b8be1fb Mon Sep 17 00:00:00 2001 From: fjosw Date: Thu, 5 Dec 2024 21:09:36 +0000 Subject: [PATCH] Documentation updated --- docs/pyerrors/correlators.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/pyerrors/correlators.html b/docs/pyerrors/correlators.html index c5e6e3fe..7ebb9538 100644 --- a/docs/pyerrors/correlators.html +++ b/docs/pyerrors/correlators.html @@ -1105,7 +1105,7 @@ 862 raise Exception("prange must be a list or array with two values") 863 if not ((isinstance(prange[0], int)) and (isinstance(prange[1], int))): 864 raise Exception("Start and end point must be integers") - 865 if not (0 <= prange[0] <= self.T and 0 <= prange[1] <= self.T and prange[0] < prange[1]): + 865 if not (0 <= prange[0] <= self.T and 0 <= prange[1] <= self.T and prange[0] <= prange[1]): 866 raise Exception("Start and end point must define a range in the interval 0,T") 867 868 self.prange = prange @@ -2620,7 +2620,7 @@ 863 raise Exception("prange must be a list or array with two values") 864 if not ((isinstance(prange[0], int)) and (isinstance(prange[1], int))): 865 raise Exception("Start and end point must be integers") - 866 if not (0 <= prange[0] <= self.T and 0 <= prange[1] <= self.T and prange[0] < prange[1]): + 866 if not (0 <= prange[0] <= self.T and 0 <= prange[1] <= self.T and prange[0] <= prange[1]): 867 raise Exception("Start and end point must define a range in the interval 0,T") 868 869 self.prange = prange @@ -4752,7 +4752,7 @@ apply gamma_method with default parameters to the Corr. Defaults to None 863 raise Exception("prange must be a list or array with two values") 864 if not ((isinstance(prange[0], int)) and (isinstance(prange[1], int))): 865 raise Exception("Start and end point must be integers") -866 if not (0 <= prange[0] <= self.T and 0 <= prange[1] <= self.T and prange[0] < prange[1]): +866 if not (0 <= prange[0] <= self.T and 0 <= prange[1] <= self.T and prange[0] <= prange[1]): 867 raise Exception("Start and end point must define a range in the interval 0,T") 868 869 self.prange = prange