From 080fe0b70fb45eea7c70be838eb58ed8fc15f37e Mon Sep 17 00:00:00 2001 From: sjplimp Date: Fri, 21 Nov 2014 16:34:34 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12765 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/atom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/atom.cpp b/src/atom.cpp index d328f0975f..9d494b35db 100644 --- a/src/atom.cpp +++ b/src/atom.cpp @@ -519,7 +519,7 @@ void Atom::modify_params(int narg, char **arg) else if (strcmp(arg[iarg+1],"no") == 0) tag_enable = 2; else error->all(FLERR,"Illegal atom_modify command"); iarg += 2; - } if (strcmp(arg[iarg],"map") == 0) { + } else if (strcmp(arg[iarg],"map") == 0) { if (iarg+2 > narg) error->all(FLERR,"Illegal atom_modify command"); if (domain->box_exist) error->all(FLERR,