Removed invalid arg count check

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9154 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
athomps 2012-12-12 22:40:03 +00:00
parent d629fb522c
commit 5a7e5b3cab
1 changed files with 0 additions and 3 deletions

View File

@ -150,13 +150,11 @@ void ChangeBox::command(int narg, char **arg)
iarg += 4;
} else if (strcmp(arg[iarg],"ortho") == 0) {
if (iarg+1 > narg) error->all(FLERR,"Illegal change_box command");
ops[nops].style = ORTHO;
nops++;
iarg += 1;
} else if (strcmp(arg[iarg],"triclinic") == 0) {
if (iarg+1 > narg) error->all(FLERR,"Illegal change_box command");
ops[nops].style = TRICLINIC;
nops++;
iarg += 1;
@ -168,7 +166,6 @@ void ChangeBox::command(int narg, char **arg)
iarg += 1;
} else if (strcmp(arg[iarg],"remap") == 0) {
if (iarg+1 > narg) error->all(FLERR,"Illegal change_box command");
ops[nops].style = REMAP;
nops++;
iarg += 1;