simplify code by appling varargs messages and warnings
This commit is contained in:
@ -94,6 +94,5 @@ void NTopoImproperAll::build()
|
||||
int all;
|
||||
MPI_Allreduce(&nmissing,&all,1,MPI_INT,MPI_SUM,world);
|
||||
if (all && (me == 0))
|
||||
error->warning(FLERR,fmt::format("Improper atoms missing at step {}",
|
||||
update->ntimestep));
|
||||
error->warning(FLERR,"Improper atoms missing at step {}",update->ntimestep);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user