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

@ -272,8 +272,8 @@ void ImproperCossq::coeff(int narg, char **arg)
int ilo,ihi;
force->bounds(arg[0],atom->nimpropertypes,ilo,ihi);
double k_one = force->numeric(arg[1]);
double chi_one = force->numeric(arg[2]);
double k_one = force->numeric(FLERR,arg[1]);
double chi_one = force->numeric(FLERR,arg[2]);
int count = 0;
for (int i = ilo; i <= ihi; i++) {