add FLERR argument to force->bounds() in born/coul/dsf

This commit is contained in:
arielzn
2016-11-08 18:24:54 +01:00
parent 25e7d074cf
commit cdb5d47e9f

View File

@ -242,8 +242,8 @@ void PairBornCoulDSF::coeff(int narg, char **arg)
if (!allocated) allocate();
int ilo,ihi,jlo,jhi;
force->bounds(arg[0],atom->ntypes,ilo,ihi);
force->bounds(arg[1],atom->ntypes,jlo,jhi);
force->bounds(FLERR,arg[0],atom->ntypes,ilo,ihi);
force->bounds(FLERR,arg[1],atom->ntypes,jlo,jhi);
double a_one = force->numeric(FLERR,arg[2]);
double rho_one = force->numeric(FLERR,arg[3]);