fixed bug on eos

This commit is contained in:
James E McClure
2016-08-02 15:01:13 -04:00
parent c706bcd0fc
commit 2410a4aee4

View File

@@ -369,7 +369,7 @@ void run_analysis( int timestep, int restart_interval,
// Retain the timestep associated with the restart files
if (rank==0){
FILE *Rst = fopen("Restart.txt","w");
fprintf("%i\n",timestep);
fprintf(Rst,"%i\n",timestep);
fclose(Rst);
}
// Write the restart file (using a seperate thread)