Browse Source

Correct typo in S(q,t) exec

master
J.-S. Caux 4 years ago
parent
commit
694578be19
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/EXECS/Heis_Fourier_to_Sqt.cc

+ 1
- 1
src/EXECS/Heis_Fourier_to_Sqt.cc View File

@@ -66,7 +66,7 @@ int main(int argc, char* argv[])
66 66
 
67 67
     while (RAW_infile.peek() != EOF) {
68 68
       RAW_infile >> omega >> iK >> FF >> dev >> label;
69
-      for (int it = 0; it < Npts_t; ++it)
69
+      for (int it = 0; it <= Npts_t; ++it)
70 70
 	FT[it][iK] += FF * FF * exp(II * omega * tlattice[it]);
71 71
     }
72 72
     RAW_infile.close();

Loading…
Cancel
Save