git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10160 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -45,7 +45,7 @@ ComputeRDF::ComputeRDF(LAMMPS *lmp, int narg, char **arg) :
|
||||
array_flag = 1;
|
||||
extarray = 0;
|
||||
|
||||
nbin = atoi(arg[3]);
|
||||
nbin = force->inumeric(FLERR,arg[3]);
|
||||
if (nbin < 1) error->all(FLERR,"Illegal compute rdf command");
|
||||
if (narg == 4) npairs = 1;
|
||||
else npairs = (narg-4)/2;
|
||||
|
||||
Reference in New Issue
Block a user