silence compiler warning

This commit is contained in:
Axel Kohlmeyer
2023-05-02 17:29:06 -04:00
parent 7b5fecfad7
commit a8dcb3987a

View File

@ -250,7 +250,8 @@ void Phonopy::phonopy()
for (int jdim = 0; jdim < 3; ++jdim) fprintf(fp, "%lg ", dm->basevec[ndim++]); for (int jdim = 0; jdim < 3; ++jdim) fprintf(fp, "%lg ", dm->basevec[ndim++]);
fprintf(fp, "\n"); fprintf(fp, "\n");
} }
for (int ip = 0; ip < ntype; ++ip) fprintf(fp, "Elem-%d ", type_id[ip]); fprintf(fp, "\n"); for (int ip = 0; ip < ntype; ++ip) fprintf(fp, "Elem-%d ", type_id[ip]);
fprintf(fp, "\n");
for (int ip = 0; ip < ntype; ++ip) fprintf(fp, "%d ", num_type[ip]); for (int ip = 0; ip < ntype; ++ip) fprintf(fp, "%d ", num_type[ip]);
fprintf(fp, "\nDirect\n"); fprintf(fp, "\nDirect\n");
for (int ip = 0; ip < ntype; ++ip){ for (int ip = 0; ip < ntype; ++ip){