add error location propagation to force->bounds() and force->boundsbig()
This commit is contained in:
@ -53,7 +53,7 @@ ComputeCoordAtom::ComputeCoordAtom(LAMMPS *lmp, int narg, char **arg) :
|
||||
ncol = 0;
|
||||
int iarg = 4;
|
||||
while (iarg < narg) {
|
||||
force->bounds(arg[iarg],ntypes,typelo[ncol],typehi[ncol]);
|
||||
force->bounds(FLERR,arg[iarg],ntypes,typelo[ncol],typehi[ncol]);
|
||||
if (typelo[ncol] > typehi[ncol])
|
||||
error->all(FLERR,"Illegal compute coord/atom command");
|
||||
ncol++;
|
||||
|
||||
Reference in New Issue
Block a user