git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11982 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2014-05-13 16:17:24 +00:00
parent 4d2e42e3ed
commit 2fcb1094f5

View File

@ -79,8 +79,8 @@ void Comm::modify_params(int narg, char **arg)
while (iarg < narg) {
if (strcmp(arg[iarg],"mode") == 0) {
if (iarg+2 > narg) error->all(FLERR,"Illegal comm_modify command");
if (strcmp(arg[0],"single") == 0) mode = SINGLE;
else if (strcmp(arg[0],"multi") == 0) mode = MULTI;
if (strcmp(arg[iarg+1],"single") == 0) mode = SINGLE;
else if (strcmp(arg[iarg+1],"multi") == 0) mode = MULTI;
else error->all(FLERR,"Illegal comm_modify command");
iarg += 2;
} else if (strcmp(arg[iarg],"group") == 0) {