more meaningful error location for numerical parsing checks
This commit is contained in:
@ -128,8 +128,8 @@ void AngleDipole::coeff(int narg, char **arg)
|
||||
int ilo,ihi;
|
||||
force->bounds(arg[0],atom->nangletypes,ilo,ihi);
|
||||
|
||||
double k_one = force->numeric(arg[1]);
|
||||
double gamma0_one = force->numeric(arg[2]);
|
||||
double k_one = force->numeric(FLERR,arg[1]);
|
||||
double gamma0_one = force->numeric(FLERR,arg[2]);
|
||||
|
||||
// convert gamma0 from degrees to radians
|
||||
|
||||
|
||||
Reference in New Issue
Block a user