Merge branch release-2018
[alexxy/gromacs.git] / src / gromacs / listed-forces / listed-forces.cpp
index 62114b806bc8767a98897b19b74a465a10352a43..352243a4b50a94ef845c7b325488d2539a78f2bd 100644 (file)
@@ -405,8 +405,7 @@ ftype_is_bonded_potential(int ftype)
 {
     return
         (interaction_function[ftype].flags & IF_BOND) &&
-        !(ftype == F_CONNBONDS || ftype == F_POSRES || ftype == F_FBPOSRES) &&
-        (ftype < F_GB12 || ftype > F_GB14);
+        !(ftype == F_CONNBONDS || ftype == F_POSRES || ftype == F_FBPOSRES);
 }
 
 /*! \brief Compute the bonded part of the listed forces, parallelized over threads