From 7361c8d0a3d2e136146ebfdb0a7759b6c5f8911c Mon Sep 17 00:00:00 2001 From: sjplimp Date: Tue, 20 Jan 2015 20:26:59 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12966 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/delete_atoms.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/delete_atoms.cpp b/src/delete_atoms.cpp index e1c3952bb9..5bdf33318b 100644 --- a/src/delete_atoms.cpp +++ b/src/delete_atoms.cpp @@ -271,8 +271,8 @@ void DeleteAtoms::delete_overlap(int narg, char **arg) if (force->pair == NULL) error->all(FLERR,"Delete_atoms requires a pair style be defined"); - if (cut > neighbor->cutneighmax) - error->all(FLERR,"Delete_atoms cutoff > neighbor cutoff"); + if (cut > neighbor->cutneighmin) + error->all(FLERR,"Delete_atoms cutoff > minimum neighbor cutoff"); // setup domain, communication and neighboring // acquire ghosts and build standard neighbor lists