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

This commit is contained in:
sjplimp 2009-08-18 17:54:37 +00:00
parent 1d79de28b3
commit 170cbf9ec0
1 changed files with 2 additions and 2 deletions

View File

@ -235,9 +235,9 @@ void Modify::init()
void Modify::setup(int vflag)
{
if (update->whichflag == 0)
if (update->whichflag == 1)
for (int i = 0; i < nfix; i++) fix[i]->setup(vflag);
else
else if (update->whichflag == 2)
for (int i = 0; i < nfix; i++) fix[i]->min_setup(vflag);
}