From 9b6479eb522f2229f2ac9106a8b690c03ead26ce Mon Sep 17 00:00:00 2001 From: sjplimp Date: Mon, 25 Jul 2011 19:37:41 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@6553 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/comm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/comm.cpp b/src/comm.cpp index 174bde27c3..17123c4b58 100644 --- a/src/comm.cpp +++ b/src/comm.cpp @@ -1344,7 +1344,7 @@ void Comm::set(int narg, char **arg) } else if (strcmp(arg[iarg],"vel") == 0) { if (iarg+2 > narg) error->all("Illegal communicate command"); if (strcmp(arg[iarg+1],"yes") == 0) ghost_velocity = 1; - else if (strcmp(arg[iarg+1],"yes") == 0) ghost_velocity = 0; + else if (strcmp(arg[iarg+1],"no") == 0) ghost_velocity = 0; else error->all("Illegal communicate command"); iarg += 2; } else error->all("Illegal communicate command");