From 4d746802d2c29d7e3a55420a4dfe015787136f07 Mon Sep 17 00:00:00 2001 From: Fabian Joswig Date: Mon, 11 Oct 2021 09:36:48 +0100 Subject: [PATCH] bug for prange fixed --- pyerrors/correlators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyerrors/correlators.py b/pyerrors/correlators.py index ced8cefe..9a332c6c 100644 --- a/pyerrors/correlators.py +++ b/pyerrors/correlators.py @@ -61,7 +61,7 @@ class Corr: #The attribute "range" [start,end] marks a range of two timeslices. #This is useful for keeping track of plateaus and fitranges. #The range can be inherited from other Corrs, if the operation should not alter a chosen range eg. multiplication with a constant. - if not range is None: + if not prange is None: self.prange=prange self.gamma_method()