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

This commit is contained in:
Axel Kohlmeyer
2018-06-01 16:13:05 -04:00
parent 7ca794beb9
commit fa5ecf88a5

View File

@ -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");
}
/* -------------------------------------------------------------------