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

This commit is contained in:
sjplimp
2009-08-18 17:56:56 +00:00
parent b0b7e43388
commit 5be42af223

View File

@ -283,7 +283,7 @@ void FixShake::init()
// cannot use with minimization since SHAKE turns off bonds // cannot use with minimization since SHAKE turns off bonds
// that should contribute to potential energy // that should contribute to potential energy
if (update->whichflag == 1) if (update->whichflag == 2)
error->all("Fix shake cannot be used with minimization"); error->all("Fix shake cannot be used with minimization");
// error if npt,nph fix comes before shake fix // error if npt,nph fix comes before shake fix