From aa918d3d1ec217d9f722f49772ec1cfe0ca2cf71 Mon Sep 17 00:00:00 2001 From: Yaser Afshar Date: Mon, 27 Mar 2023 19:34:34 -0700 Subject: [PATCH] Fix a typo --- src/set.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/set.cpp b/src/set.cpp index 96bdaa24ab..1c04157870 100644 --- a/src/set.cpp +++ b/src/set.cpp @@ -106,7 +106,6 @@ void Set::command(int narg, char **arg) char *typestr = utils::expand_type(FLERR,arg[iarg+1],Atom::ATOM,lmp); newtype = utils::inumeric(FLERR,typestr?typestr:arg[iarg+1],false,lmp); delete[] typestr; - newtype = utils::inumeric(FLERR,arg[iarg+1],false,lmp); fraction = utils::numeric(FLERR,arg[iarg+2],false,lmp); ivalue = utils::inumeric(FLERR,arg[iarg+3],false,lmp); if (newtype <= 0 || newtype > atom->ntypes)