Merge release-4-5-patches into release-4-6
[alexxy/gromacs.git] / src / tools / mk_angndx.c
index 5acb833b538fea6a8400151ac70cb531fe7b671f..b159ecae2f94f59f4d39137b1dddc9a61b7a65f3 100644 (file)
@@ -173,7 +173,7 @@ static int *select_ftype(const char *opt,int *nft,int *mult)
   if (opt[0] == 'a') {
     *mult = 3;
     for(ftype=0; ftype<F_NRE; ftype++) {
-      if (interaction_function[ftype].flags & IF_ATYPE ||
+      if ((interaction_function[ftype].flags & IF_ATYPE) ||
          ftype == F_TABANGLES) {
        (*nft)++;
        srenew(ft,*nft);