manually incorporate fixes for ave/correlate/long from PR #2066

This commit is contained in:
Axel Kohlmeyer
2020-05-04 08:18:56 -04:00
parent 61284891ee
commit bed6ad4660
2 changed files with 2 additions and 2 deletions

View File

@ -495,7 +495,7 @@ void FixAveCorrelateLong::end_of_step()
if(overwrite) fseek(fp,filepos,SEEK_SET);
fprintf(fp,"# Timestep: " BIGINT_FORMAT "\n", ntimestep);
for (unsigned int i=0;i<npcorr;++i) {
fprintf(fp, "%lg ", t[i]*update->dt);
fprintf(fp, "%lg ", t[i]*update->dt*nevery);
for (int j=0;j<npair;++j) {
fprintf(fp, "%lg ", f[j][i]);
}