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

don't allow hybrid/overlay as hybrid substyle as well

parent b481af51
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -281,7 +281,7 @@ void PairHybrid::settings(int narg, char **arg)
  iarg = 0;
  nstyles = 0;
  while (iarg < narg) {
    if (strcmp(arg[iarg],"hybrid") == 0)
    if (strncmp(arg[iarg],"hybrid",6) == 0)
      error->all(FLERR,"Pair style hybrid cannot have hybrid as an argument");
    if (strcmp(arg[iarg],"none") == 0)
      error->all(FLERR,"Pair style hybrid cannot have none as an argument");