git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10160 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -36,7 +36,7 @@ ComputeClusterAtom::ComputeClusterAtom(LAMMPS *lmp, int narg, char **arg) :
|
||||
{
|
||||
if (narg != 4) error->all(FLERR,"Illegal compute cluster/atom command");
|
||||
|
||||
double cutoff = atof(arg[3]);
|
||||
double cutoff = force->numeric(FLERR,arg[3]);
|
||||
cutsq = cutoff*cutoff;
|
||||
|
||||
peratom_flag = 1;
|
||||
|
||||
Reference in New Issue
Block a user