Unverified Commit 2b8f300c authored by Axel Kohlmeyer's avatar Axel Kohlmeyer Committed by GitHub
Browse files

Merge pull request #1713 from jrgissing/bond/react-angle-constraints

Bond/react: angle constraints bugfix
parents 6e244bc8 4804acbb
Loading
Loading
Loading
Loading
+4 −6
Original line number Diff line number Diff line
@@ -2814,13 +2814,11 @@ void FixBondReact::read(int myrxn)
    }
    else if (strstr(line,"customIDs")) sscanf(line,"%d",&ncustom);
    else if (strstr(line,"deleteIDs")) sscanf(line,"%d",&ndelete);
    else if (strstr(line,"constraints")) sscanf(line,"%d",&nconstr);
    else break;
  }

    else if (strstr(line,"constraints")) {
      sscanf(line,"%d",&nconstr);
      memory->grow(constraints,nconstraints+nconstr,MAXCONARGS,"bond/react:constraints");

  //count = NULL;
    } else break;
  }

  // grab keyword and skip next line