apply bugfix to fix wall/gran by eric_lyster@agilent.com on lammps-users

This commit is contained in:
Axel Kohlmeyer 2017-01-11 20:59:40 -05:00
parent 6950a99162
commit 8e1cf6643c
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ FixWallGran::FixWallGran(LAMMPS *lmp, int narg, char **arg) :
if (narg < iarg+2) error->all(FLERR,"Illegal fix wall/gran command");
wallstyle = ZCYLINDER;
lo = hi = 0.0;
cylradius = force->numeric(FLERR,arg[iarg+3]);
cylradius = force->numeric(FLERR,arg[iarg+1]);
iarg += 2;
} else if (strcmp(arg[iarg],"region") == 0) {
if (narg < iarg+2) error->all(FLERR,"Illegal fix wall/gran command");