forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2083 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
7e77b5a9c9
commit
7f0fad1844
|
@ -29,7 +29,7 @@ using namespace LAMMPS_NS;
|
|||
FixMSD::FixMSD(LAMMPS *lmp, int narg, char **arg) :
|
||||
Fix(lmp, narg, arg)
|
||||
{
|
||||
if (narg != 5 && narg != 7) error->all("Illegal fix msd command");
|
||||
if (narg < 5) error->all("Illegal fix msd command");
|
||||
nevery = atoi(arg[3]);
|
||||
if (nevery <= 0) error->all("Illegal fix msd command");
|
||||
first = 1;
|
||||
|
|
Loading…
Reference in New Issue