fix bug due to adding ArgInfo
This commit is contained in:
@ -155,6 +155,7 @@ ComputeChunkAtom::ComputeChunkAtom(LAMMPS *lmp, int narg, char **arg) :
|
|||||||
if ((which == ArgInfo::UNKNOWN) || (which == ArgInfo::NONE)
|
if ((which == ArgInfo::UNKNOWN) || (which == ArgInfo::NONE)
|
||||||
|| (argi.get_dim() > 1))
|
|| (argi.get_dim() > 1))
|
||||||
error->all(FLERR,"Illegal compute chunk/atom command");
|
error->all(FLERR,"Illegal compute chunk/atom command");
|
||||||
|
iarg = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
// optional args
|
// optional args
|
||||||
|
|||||||
Reference in New Issue
Block a user