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

This commit is contained in:
sjplimp 2014-04-18 12:48:35 +00:00
parent 182f71d113
commit d58ddc31da
1 changed files with 2 additions and 2 deletions

View File

@ -583,11 +583,11 @@ void Force::set_special(int narg, char **arg)
{
if (narg == 0) error->all(FLERR,"Illegal special_bonds command");
// defaults
// defaults, but do not reset special_extra
special_lj[1] = special_lj[2] = special_lj[3] = 0.0;
special_coul[1] = special_coul[2] = special_coul[3] = 0.0;
special_angle = special_dihedral = special_extra = 0;
special_angle = special_dihedral = 0;
int iarg = 0;
while (iarg < narg) {