Use varargs version of Error:all() and Error::one() where applicable

This commit is contained in:
Axel Kohlmeyer
2021-04-25 21:30:51 -04:00
parent 4cbe6200d6
commit e9e0bb71b6
117 changed files with 522 additions and 524 deletions

View File

@ -173,8 +173,8 @@ void Force::init()
// check if pair style must be specified after restart
if (pair_restart) {
if (!pair)
error->all(FLERR,fmt::format("Must re-specify non-restarted pair style "
"({}) after read_restart", pair_restart));
error->all(FLERR,"Must re-specify non-restarted pair style "
"({}) after read_restart", pair_restart);
}
if (kspace) kspace->init(); // kspace must come before pair