Commit 4804acbb authored by jrgissing's avatar jrgissing
Browse files

angle constraint bugfix

parent 01f80718
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