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

This commit is contained in:
sjplimp
2007-10-09 23:40:36 +00:00
parent fa461b908b
commit 255b8fc0d9
8 changed files with 12 additions and 7 deletions

View File

@ -41,8 +41,7 @@ FixLangevin::FixLangevin(LAMMPS *lmp, int narg, char **arg) :
int seed = atoi(arg[6]);
if (t_period <= 0.0) error->all("Fix langevin period must be > 0.0");
if (seed <= 0 || seed > 900000000)
error->all("Illegal fix langevin command");
if (seed <= 0) error->all("Illegal fix langevin command");
// initialize Marsaglia RNG with processor-unique seed