diff --git a/src/CG-DNA/atom_vec_oxdna.cpp b/src/CG-DNA/atom_vec_oxdna.cpp index ed37fd0877..5990fa5dfc 100644 --- a/src/CG-DNA/atom_vec_oxdna.cpp +++ b/src/CG-DNA/atom_vec_oxdna.cpp @@ -77,7 +77,7 @@ void AtomVecOxdna::data_atom_post(int ilocal) /* ---------------------------------------------------------------------- process bond information as per data file - store 5' partner to inform 3'->5' bond directionality + store 5' partner to inform 3'->5' bond directionality ------------------------------------------------------------------------- */ void AtomVecOxdna::data_bonds_post(int m, int num_bond, tagint atom1, diff --git a/src/CG-DNA/pair_oxrna2_stk.cpp b/src/CG-DNA/pair_oxrna2_stk.cpp index 627f302699..b6b68662d5 100644 --- a/src/CG-DNA/pair_oxrna2_stk.cpp +++ b/src/CG-DNA/pair_oxrna2_stk.cpp @@ -1014,7 +1014,7 @@ void PairOxrna2Stk::coeff(int narg, char **arg) ------------------------------------------------------------------------- */ void PairOxrna2Stk::init_style() -{ +{ if (!atom->style_match("oxdna")) { error->all(FLERR,"Must use 'atom_style hybrid bond ellipsoid oxdna' with pair style oxdna/stk, oxdna2/stk or oxrna2/stk"); } diff --git a/src/atom_vec_hybrid.cpp b/src/atom_vec_hybrid.cpp index aa19f14bc8..0bffde2129 100644 --- a/src/atom_vec_hybrid.cpp +++ b/src/atom_vec_hybrid.cpp @@ -444,7 +444,7 @@ void AtomVecHybrid::data_atom_post(int ilocal) ------------------------------------------------------------------------- */ void AtomVecHybrid::data_bonds_post(int m, int num_bond, tagint atom1, tagint atom2, tagint id_offset) -{ +{ for (int k = 0; k < nstyles; k++) styles[k]->data_bonds_post(m, num_bond, atom1, atom2, id_offset); }