From b13ebf58898ae22c026fcefc9ad9a5bb025fa1bb Mon Sep 17 00:00:00 2001 From: sjplimp Date: Mon, 8 Jul 2013 14:45:35 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10224 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/delete_atoms.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/delete_atoms.cpp b/src/delete_atoms.cpp index f16cc4ce3c..db752d0b2c 100644 --- a/src/delete_atoms.cpp +++ b/src/delete_atoms.cpp @@ -406,17 +406,17 @@ void DeleteAtoms::options(int narg, char **arg) int iarg = 0; while (iarg < narg) { if (strcmp(arg[iarg],"compress") == 0) { - if (iarg+2 > narg) error->all(FLERR,"Illegal delete_bonds command"); + if (iarg+2 > narg) error->all(FLERR,"Illegal delete_atoms command"); if (strcmp(arg[iarg+1],"yes") == 0) compress_flag = 1; else if (strcmp(arg[iarg+1],"no") == 0) compress_flag = 0; - else error->all(FLERR,"Illegal delete_bonds command"); + else error->all(FLERR,"Illegal delete_atoms command"); iarg += 2; } else if (strcmp(arg[iarg],"mol") == 0) { - if (iarg+2 > narg) error->all(FLERR,"Illegal delete_bonds command"); + if (iarg+2 > narg) error->all(FLERR,"Illegal delete_atoms command"); if (strcmp(arg[iarg+1],"yes") == 0) mol_flag = 1; else if (strcmp(arg[iarg+1],"no") == 0) mol_flag = 0; - else error->all(FLERR,"Illegal delete_bonds command"); + else error->all(FLERR,"Illegal delete_atoms command"); iarg += 2; - } else error->all(FLERR,"Illegal delete_bonds command"); + } else error->all(FLERR,"Illegal delete_atoms command"); } }