forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@416 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
c51298f366
commit
eb06c494d3
|
@ -151,9 +151,10 @@ void Group::assign(int narg, char **arg)
|
|||
|
||||
// style = logical condition
|
||||
|
||||
} else if (strcmp(arg[2],"<") == 0 || strcmp(arg[2],">") == 0 ||
|
||||
} else if (narg >= 3 &&
|
||||
(strcmp(arg[2],"<") == 0 || strcmp(arg[2],">") == 0 ||
|
||||
strcmp(arg[2],"<=") == 0 || strcmp(arg[2],">=") == 0 ||
|
||||
strcmp(arg[2],"<>") == 0) {
|
||||
strcmp(arg[2],"<>") == 0)) {
|
||||
|
||||
if (narg < 4 || narg > 5) error->all("Illegal group command");
|
||||
int category,condition,bound1,bound2;
|
||||
|
|
Loading…
Reference in New Issue