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

@ -64,11 +64,11 @@ void NTopoDihedralPartial::build()
if (atom1 == -1 || atom2 == -1 || atom3 == -1 || atom4 == -1) {
nmissing++;
if (lostbond == Thermo::ERROR)
error->one(FLERR,fmt::format("Dihedral atoms {} {} {} {} missing on "
error->one(FLERR,"Dihedral atoms {} {} {} {} missing on "
"proc {} at step {}",
dihedral_atom1[i][m],dihedral_atom2[i][m],
dihedral_atom3[i][m],dihedral_atom4[i][m],
me,update->ntimestep));
me,update->ntimestep);
continue;
}
atom1 = domain->closest_image(i,atom1);