readability-implicit-bool-conversion 1/2
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / gen_ad.cpp
index 780ee80f4a7da1c8496eed3b053192cbdf0c8164..464fc803486e2d971491a8c125a08adae3cc9809 100644 (file)
@@ -999,7 +999,7 @@ void gen_pad(t_nextnb *nnb, t_atoms *atoms, t_restp rtp[],
             hbang = &hb[i].rb[ebtsANGLES];
             for (j = 0; j < hbang->nb; j++)
             {
-                if (hbang->b[j].match == TRUE)
+                if (hbang->b[j].match)
                 {
                     /* We already used this entry, continue to the next */
                     continue;
@@ -1044,7 +1044,7 @@ void gen_pad(t_nextnb *nnb, t_atoms *atoms, t_restp rtp[],
             hbdih = &hb[i].rb[ebtsPDIHS];
             for (j = 0; j < hbdih->nb; j++)
             {
-                if (hbdih->b[j].match == TRUE)
+                if (hbdih->b[j].match)
                 {
                     /* We already used this entry, continue to the next */
                     continue;