From 4fa5840f136236d1eb47dda73471b37d6d9b9f6a Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Mon, 26 Apr 2021 11:02:41 -0400 Subject: [PATCH] fix bug due to adding ArgInfo --- src/compute_chunk_atom.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compute_chunk_atom.cpp b/src/compute_chunk_atom.cpp index 26967a1b12..16090eb0ec 100644 --- a/src/compute_chunk_atom.cpp +++ b/src/compute_chunk_atom.cpp @@ -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