forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5380 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
0ef38a94c9
commit
5df9709d9f
|
@ -638,12 +638,10 @@ void Modify::add_fix(int narg, char **arg)
|
|||
|
||||
else error->all("Invalid fix style");
|
||||
|
||||
// if fix is new, set it's mask values and increment nfix
|
||||
// set fix mask values and increment nfix (if new)
|
||||
|
||||
if (newflag) {
|
||||
fmask[ifix] = fix[ifix]->setmask();
|
||||
nfix++;
|
||||
}
|
||||
fmask[ifix] = fix[ifix]->setmask();
|
||||
if (newflag) nfix++;
|
||||
|
||||
// check if Fix is in restart_global list
|
||||
// if yes, pass state info to the Fix so it can reset itself
|
||||
|
|
Loading…
Reference in New Issue