Merge pull request #247 from akohlmey/bounds-error-with-code-line

Propagate error error locations for a few more utility functions
This commit is contained in:
sjplimp
2016-11-04 10:58:14 -06:00
committed by GitHub
194 changed files with 352 additions and 351 deletions

View File

@ -181,8 +181,8 @@ void PairMorse::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 d0_one = force->numeric(FLERR,arg[2]);
double alpha_one = force->numeric(FLERR,arg[3]);