From 785c590397e4fe41a9e47ef3998e3dda354b02c9 Mon Sep 17 00:00:00 2001 From: jkuhl-uni Date: Tue, 20 Dec 2022 18:08:22 +0100 Subject: [PATCH] small bug fix --- pyerrors/input/openQCD.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyerrors/input/openQCD.py b/pyerrors/input/openQCD.py index 35c9e255..3fcd6e7b 100644 --- a/pyerrors/input/openQCD.py +++ b/pyerrors/input/openQCD.py @@ -1073,7 +1073,7 @@ def read_ms5_xsf(path, prefix, qc, corr): if not corr in placesBB: tmpcorr = asascii[1+2*tmax*placesBI.index(corr):1+2*tmax*placesBI.index(corr)+2*tmax] else: - tmpcorr = asascii[1+2*tmax*len(placesBI)+2*placesBI.index(corr):1+2*tmax*len(placesBI)+2*placesBI.index(corr)+2] + tmpcorr = asascii[1+2*tmax*len(placesBI)+2*placesBB.index(corr):1+2*tmax*len(placesBI)+2*placesBB.index(corr)+2] corrres = [[],[]] for i in range(len(tmpcorr)): corrres[i%2].append(tmpcorr[i]) for t in range(int(len(tmpcorr)/2)): realsamples[t].append(corrres[0][t])