From 23e2a4af00d0cb29133132d18b2c8e77e1329367 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Fri, 23 Oct 2020 21:50:18 -0400 Subject: [PATCH] use symbolic constant --- src/atom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/atom.cpp b/src/atom.cpp index 0e63fc3fdf..9a2bc75f06 100644 --- a/src/atom.cpp +++ b/src/atom.cpp @@ -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