Commit 95af0d5a authored by sjplimp's avatar sjplimp
Browse files

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@530 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent a4bdfdfa
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -329,7 +329,7 @@ void Output::create_thermo(int narg, char **arg)

/* ----------------------------------------------------------------------
   setup restart capability
   if only one filename, append ".*" if not "*" in filename
   if only one filename and it contains no "*", then append ".*"
------------------------------------------------------------------------- */

void Output::create_restart(int narg, char **arg)
@@ -339,6 +339,8 @@ void Output::create_restart(int narg, char **arg)
  if (restart) delete restart;
  delete [] restart1;
  delete [] restart2;
  restart = NULL;
  restart1 = restart2 = NULL;

  restart_every = atoi(arg[0]);
  if (restart_every == 0) {