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

change error->all to error->warning on pair style restartinfo bug

parent 7ca794be
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -695,13 +695,15 @@ void Pair::compute_dummy(int eflag, int vflag)
/* ---------------------------------------------------------------------- */
void Pair::read_restart(FILE *)
{
  error->all(FLERR,"BUG: restartinfo=1 but no restart support in pair style");
  if (comm->me == 0)
    error->warning(FLERR,"BUG: restartinfo=1 but no restart support in pair style");
}

/* ---------------------------------------------------------------------- */
void Pair::write_restart(FILE *)
{
  error->all(FLERR,"BUG: restartinfo=1 but no restart support in pair style");
  if (comm->me == 0)
    error->warning(FLERR,"BUG: restartinfo=1 but no restart support in pair style");
}

/* -------------------------------------------------------------------