Commit 232a1392 authored by sjplimp's avatar sjplimp
Browse files

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@1183 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent 370c6ad8
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -237,9 +237,7 @@ FixAveSpatial::FixAveSpatial(LAMMPS *lmp, int narg, char **arg) :
    nvalid = update->ntimestep;
  else
    nvalid -= (nrepeat-1)*nevery;

  if (nvalid < update->ntimestep)
    error->all("Fix ave/spatial cannot be started on this timestep");
  if (nvalid < update->ntimestep) nvalid += nfreq;
}

/* ---------------------------------------------------------------------- */
+1 −3
Original line number Diff line number Diff line
@@ -196,9 +196,7 @@ FixAveTime::FixAveTime(LAMMPS *lmp, int narg, char **arg) :
    nvalid = update->ntimestep;
  else
    nvalid -= (nrepeat-1)*nevery;

  if (nvalid < update->ntimestep)
    error->all("Fix ave/time cannot be started on this timestep");
  if (nvalid < update->ntimestep) nvalid += nfreq;

  // must set timestep for all computes that store invocation times
  // since don't know a priori which are invoked by this fix