Merge branch release-2020 into master
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / grompp.cpp
index 29ac09631610d8b4b04f3f547ead77fa79853b51..f010d6e6bc485c9a589e7afbcfcd347f16e08ac6 100644 (file)
@@ -1379,7 +1379,7 @@ static void checkForUnboundAtoms(const gmx_moltype_t* molt, gmx_bool bVerbose, w
 
     for (int ftype = 0; ftype < F_NRE; ftype++)
     {
-        if (((interaction_function[ftype].flags & IF_BOND) && ftype != F_CONNBONDS)
+        if (((interaction_function[ftype].flags & IF_BOND) && NRAL(ftype) == 2 && ftype != F_CONNBONDS)
             || (interaction_function[ftype].flags & IF_CONSTRAINT) || ftype == F_SETTLE)
         {
             const InteractionList& il   = molt->ilist[ftype];