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