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])