more meaningful error location for numerical parsing checks

This commit is contained in:
Axel Kohlmeyer
2013-06-04 09:57:10 +02:00
parent 892ecf1ec4
commit 88d49ad3e9
119 changed files with 556 additions and 556 deletions

View File

@ -185,10 +185,10 @@ void AngleQuartic::coeff(int narg, char **arg)
int ilo,ihi;
force->bounds(arg[0],atom->nangletypes,ilo,ihi);
double theta0_one = force->numeric(arg[1]);
double k2_one = force->numeric(arg[2]);
double k3_one = force->numeric(arg[3]);
double k4_one = force->numeric(arg[4]);
double theta0_one = force->numeric(FLERR,arg[1]);
double k2_one = force->numeric(FLERR,arg[2]);
double k3_one = force->numeric(FLERR,arg[3]);
double k4_one = force->numeric(FLERR,arg[4]);
// convert theta0 from degrees to radians