Commit ca64c461 authored by Stan Moore's avatar Stan Moore
Browse files

Remove unnecessary error check in USER-DPD fix rx

parent fa6922a1
Loading
Loading
Loading
Loading
+0 −4
Original line number Original line Diff line number Diff line
@@ -256,10 +256,6 @@ void FixRX::post_constructor()
  int nUniqueSpecies = 0;
  int nUniqueSpecies = 0;
  bool match;
  bool match;


  for (int i = 0; i < modify->nfix; i++)
    if (utils::strmatch(modify->fix[i]->style,"^property/atom") == 0)
      error->all(FLERR,"fix rx cannot be combined with fix property/atom");

  char **tmpspecies = new char*[maxspecies];
  char **tmpspecies = new char*[maxspecies];
  int tmpmaxstrlen = 0;
  int tmpmaxstrlen = 0;
  for(int jj=0; jj < maxspecies; jj++)
  for(int jj=0; jj < maxspecies; jj++)