From c3b38c8b6f153d20e98e4943f9368baf25ed8b16 Mon Sep 17 00:00:00 2001 From: Simon Kuberski Date: Thu, 3 Feb 2022 16:05:47 +0100 Subject: [PATCH] Small change on idl --- pyerrors/input/openQCD.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyerrors/input/openQCD.py b/pyerrors/input/openQCD.py index 6bb91848..4d2eb5fa 100644 --- a/pyerrors/input/openQCD.py +++ b/pyerrors/input/openQCD.py @@ -186,7 +186,7 @@ def read_rwms(path, prefix, version='2.0', names=None, **kwargs): print(',', nrw, 'reweighting factors with', nsrc, 'sources') result = [] - idl = [range(r_start[rep] + 1, r_stop[rep] + r_step, r_step) for rep in range(replica)] + idl = [range(r_start[rep] + 1, r_stop[rep] + 1, r_step) for rep in range(replica)] for t in range(nrw): result.append(Obs(deltas[t], rep_names, idl=idl)) return result @@ -341,7 +341,7 @@ def extract_t0(path, prefix, dtr_read, xmin, current + tmax - xmin]) for current in range(0, len(item), tmax)]) - idl = [range(r_start[rep] + 1, r_stop[rep] + r_step, r_step) for rep in range(len(r_start))] + idl = [range(r_start[rep] + 1, r_stop[rep] + 1, r_step) for rep in range(len(r_start))] t2E_dict = {} for n in range(nn + 1): samples = []