Commit a2e34aab authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

make certain, that atom->maxspecial is incremented with extra special space

parent 9954d5d3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -159,6 +159,7 @@ void CreateBox::command(int narg, char **arg)
    } else if (strcmp(arg[iarg],"extra/special/per/atom") == 0) {
      if (iarg+2 > narg) error->all(FLERR,"Illegal create_box command");
      force->special_extra = force->inumeric(FLERR,arg[iarg+1]);
      atom->maxspecial += force->special_extra;
      iarg += 2;
    } else error->all(FLERR,"Illegal create_box command");
  }