use symbolic constant

This commit is contained in:
Axel Kohlmeyer
2020-10-23 21:50:18 -04:00
parent 3bf081745d
commit 23e2a4af00

View File

@ -1910,7 +1910,7 @@ void Atom::add_molecule_atom(Molecule *onemol, int iatom,
onemol->avec_body->set_quat(ilocal,onemol->quat_external);
}
if (molecular != 1) return;
if (molecular != Atom::MOLECULAR) return;
// add bond topology info
// for molecular atom styles, but not atom style template