git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@828 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -387,7 +387,7 @@ void DihedralCharmm::init_style()
|
|||||||
// set local ptrs to LJ 14 arrays setup by Pair
|
// set local ptrs to LJ 14 arrays setup by Pair
|
||||||
|
|
||||||
int weightflag = 0;
|
int weightflag = 0;
|
||||||
for (int i = 1; i < atom->ndihedraltypes; i++)
|
for (int i = 1; i <= atom->ndihedraltypes; i++)
|
||||||
if (weight[i] > 0.0) weightflag = 1;
|
if (weight[i] > 0.0) weightflag = 1;
|
||||||
|
|
||||||
if (weightflag) {
|
if (weightflag) {
|
||||||
|
|||||||
Reference in New Issue
Block a user