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

This commit is contained in:
sjplimp
2016-09-10 20:19:52 +00:00
parent 99d5bf89bc
commit a8d7ca367d
4 changed files with 8 additions and 5 deletions

View File

@ -156,7 +156,7 @@ int ComputeBondLocal::compute_bonds(int flag)
atom2 = atom->map(bond_atom[atom1][i]);
} else {
tagprev = tag[atom1] - iatom - 1;
btype = atom->map(onemols[imol]->bond_type[iatom][i]);
btype = onemols[imol]->bond_type[iatom][i];
atom2 = atom->map(onemols[imol]->bond_atom[iatom][i]+tagprev);
}