From d83386de56fb692ebabf345515fc2f5e3d3f4b58 Mon Sep 17 00:00:00 2001 From: Yaser Afshar Date: Fri, 24 Mar 2023 07:12:09 -0700 Subject: [PATCH] ATOM_SELECT uses numerical id for atom ID --- src/set.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/set.cpp b/src/set.cpp index 06c29b4965..6d7c307a13 100644 --- a/src/set.cpp +++ b/src/set.cpp @@ -740,8 +740,6 @@ void Set::selection(int n) if (style == ATOM_SELECT) { if (atom->tag_enable == 0) error->all(FLERR,"Cannot use set atom with no atom IDs defined"); - char *typestr = utils::expand_type(FLERR,id,Atom::ATOM,lmp); - if (typestr) id = typestr; bigint nlobig,nhibig; utils::bounds(FLERR,id,1,MAXTAGINT,nlobig,nhibig,error);