From 4cc482fd9bc6ea209e5b5487f3929d72e29d5d43 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Fri, 18 Mar 2016 08:58:35 -0400 Subject: [PATCH] bugfix from lammps-users for processors command --- src/comm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/comm.cpp b/src/comm.cpp index 60d734d759..825460720d 100644 --- a/src/comm.cpp +++ b/src/comm.cpp @@ -355,7 +355,7 @@ void Comm::set_processors(int narg, char **arg) } else if (strcmp(arg[iarg+1],"numa") == 0) { gridflag = NUMA; - } else if (strcmp(arg[iarg],"custom") == 0) { + } else if (strcmp(arg[iarg+1],"custom") == 0) { if (iarg+3 > narg) error->all(FLERR,"Illegal processors command"); gridflag = CUSTOM; delete [] customfile;