@@ -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();