fix bug due to adding ArgInfo

This commit is contained in:
Axel Kohlmeyer
2021-04-26 11:02:41 -04:00
parent 792966a957
commit 4fa5840f13

View File

@ -155,6 +155,7 @@ ComputeChunkAtom::ComputeChunkAtom(LAMMPS *lmp, int narg, char **arg) :
if ((which == ArgInfo::UNKNOWN) || (which == ArgInfo::NONE)
|| (argi.get_dim() > 1))
error->all(FLERR,"Illegal compute chunk/atom command");
iarg = 4;
}
// optional args