Commit c22e2896 authored by sjplimp's avatar sjplimp
Browse files

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@828 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent 7cce9361
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) {