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

This commit is contained in:
sjplimp
2013-07-25 20:32:40 +00:00
parent 328cbc4db9
commit 28dcb90c7b
2 changed files with 12 additions and 6 deletions

View File

@ -395,7 +395,7 @@ void Set::command(int narg, char **arg)
set(INAME);
iarg += 2;
} else if (strstr(arg[iarg],"i_") == arg[iarg]) {
} else if (strstr(arg[iarg],"d_") == arg[iarg]) {
if (iarg+2 > narg) error->all(FLERR,"Illegal set command");
if (strstr(arg[iarg+1],"v_") == arg[iarg+1]) varparse(arg[iarg+1],1);
else dvalue = force->numeric(FLERR,arg[iarg+1]);