remove optional logflag argument from Error::message() and Error::warning()

This commit is contained in:
Axel Kohlmeyer
2021-05-05 16:02:51 -04:00
parent ed45ef301f
commit 9f4da1128b
62 changed files with 71 additions and 70 deletions

View File

@ -420,7 +420,7 @@ bigint Thermo::lost_check()
warnbefore = 1;
error->warning(FLERR,fmt::format("Too many warnings: {} vs {}. All "
"future warnings will be suppressed.\n",
ntotal[1],maxwarn),0);
ntotal[1],maxwarn));
}
error->set_allwarn(ntotal[1]);
@ -443,7 +443,7 @@ bigint Thermo::lost_check()
if (me == 0)
error->warning(FLERR,fmt::format("Lost atoms: original {} current {}",
atom->natoms,ntotal[0]),0);
atom->natoms,ntotal[0]));
// reset total atom count