git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14220 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -11,9 +11,9 @@
|
||||
See the README file in the top-level LAMMPS directory.
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
#include "stdlib.h"
|
||||
#include "string.h"
|
||||
#include "unistd.h"
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include "fix_ave_histo.h"
|
||||
#include "atom.h"
|
||||
#include "update.h"
|
||||
@ -597,7 +597,7 @@ void FixAveHisto::end_of_step()
|
||||
// error check if timestep was reset in an invalid manner
|
||||
|
||||
bigint ntimestep = update->ntimestep;
|
||||
if (ntimestep < nvalid_last || ntimestep > nvalid)
|
||||
if (ntimestep < nvalid_last || ntimestep > nvalid)
|
||||
error->all(FLERR,"Invalid timestep reset for fix ave/histo");
|
||||
if (ntimestep != nvalid) return;
|
||||
nvalid_last = nvalid;
|
||||
|
||||
Reference in New Issue
Block a user