git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7222 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -273,7 +273,8 @@ void PairTable::coeff(int narg, char **arg)
|
||||
rlo = tb->rlo;
|
||||
rhi = tb->rhi;
|
||||
}
|
||||
if (tb->cut <= rlo || tb->cut > rhi) error->all(FLERR,"Invalid pair table cutoff");
|
||||
if (tb->cut <= rlo || tb->cut > rhi)
|
||||
error->all(FLERR,"Invalid pair table cutoff");
|
||||
if (rlo <= 0.0) error->all(FLERR,"Invalid pair table cutoff");
|
||||
|
||||
// match = 1 if don't need to spline read-in tables
|
||||
|
||||
Reference in New Issue
Block a user