Use varargs version of Error:all() and Error::one() where applicable
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user