diff --git a/src/create_bonds.cpp b/src/create_bonds.cpp index fa2d0d5018..26f249bddc 100644 --- a/src/create_bonds.cpp +++ b/src/create_bonds.cpp @@ -223,7 +223,7 @@ void CreateBonds::many() // build neighbor list this command needs based on earlier request - auto list = neighbor->find_list(this); + auto *list = neighbor->find_list(this); neighbor->build_one(list); // loop over all neighs of each atom @@ -237,7 +237,7 @@ void CreateBonds::many() int *num_bond = atom->num_bond; int **bond_type = atom->bond_type; tagint **bond_atom = atom->bond_atom; - double newton_bond = force->newton_bond; + int newton_bond = force->newton_bond; int nlocal = atom->nlocal; int i, j, ii, jj, inum, jnum, flag;