mirror of https://github.com/lammps/lammps.git
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@828 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
7cce9361a5
commit
c22e289648
|
@ -387,7 +387,7 @@ void DihedralCharmm::init_style()
|
|||
// set local ptrs to LJ 14 arrays setup by Pair
|
||||
|
||||
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 (weightflag) {
|
||||
|
|
Loading…
Reference in New Issue