git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10993 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -686,7 +686,7 @@ void Special::angle_trim()
|
||||
int nbuf = 0;
|
||||
for (i = 0; i < nlocal; i++) {
|
||||
if (num_angle && atom->nangles) nbuf += 2*num_angle[i];
|
||||
if (num_dihedral && atom->ndihedrals) nbuf + 2*2*num_dihedral[i];
|
||||
if (num_dihedral && atom->ndihedrals) nbuf += 2*2*num_dihedral[i];
|
||||
}
|
||||
int *buf;
|
||||
memory->create(buf,nbuf,"special:buf");
|
||||
|
||||
Reference in New Issue
Block a user