From 694578be1917ba48d55a3638fb74c8ad338fbe4c Mon Sep 17 00:00:00 2001 From: "J.-S. Caux" Date: Mon, 9 Dec 2019 08:54:36 +0100 Subject: [PATCH] Correct typo in S(q,t) exec --- src/EXECS/Heis_Fourier_to_Sqt.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EXECS/Heis_Fourier_to_Sqt.cc b/src/EXECS/Heis_Fourier_to_Sqt.cc index 5d70543..3a06614 100644 --- a/src/EXECS/Heis_Fourier_to_Sqt.cc +++ b/src/EXECS/Heis_Fourier_to_Sqt.cc @@ -66,7 +66,7 @@ int main(int argc, char* argv[]) while (RAW_infile.peek() != EOF) { RAW_infile >> omega >> iK >> FF >> dev >> label; - for (int it = 0; it < Npts_t; ++it) + for (int it = 0; it <= Npts_t; ++it) FT[it][iK] += FF * FF * exp(II * omega * tlattice[it]); } RAW_infile.close();