Update variable.cpp

I remembered that I forgot to remove these commented printf() calls.
This commit is contained in:
Aidan Thompson
2023-02-06 10:23:22 -07:00
committed by GitHub
parent cd093d94b9
commit 83831ca222

View File

@ -771,10 +771,8 @@ int Variable::next(int narg, char **arg)
error->one(FLERR,"Unexpected error while incrementing uloop style variable. "
"Please contact the LAMMPS developers.");
//printf("READ %d %d\n",universe->me,nextindex);
fp = fopen("tmp.lammps.variable.lock","w");
fprintf(fp,"%d\n",nextindex+1);
//printf("WRITE %d %d\n",universe->me,nextindex+1);
fclose(fp);
fp = nullptr;
rename("tmp.lammps.variable.lock","tmp.lammps.variable");