git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7222 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2011-11-08 14:51:25 +00:00
parent 618f3ab3ff
commit 181c77d346
2 changed files with 4 additions and 1 deletions

View File

@ -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