Fix misc. warnings (#1076)

This commit is contained in:
Daniel Schwen
2018-08-24 13:09:36 -06:00
parent 92a4dc25b1
commit 38a998c03c
28 changed files with 63 additions and 95 deletions

View File

@ -1558,7 +1558,6 @@ void FixBondReact::find_landlocked_atoms(int myrxn)
// would someone want to change an angle type but not bond or atom types? (etc.) ...hopefully not yet
for (int i = 0; i < twomol->natoms; i++) {
if (landlocked_atoms[i][myrxn] == 0) {
int twomol_atomi = i+1;
for (int j = 0; j < twomol->num_bond[i]; j++) {
int twomol_atomj = twomol->bond_atom[i][j];
if (landlocked_atoms[twomol_atomj-1][myrxn] == 0) {