Use varargs version of Error:all() and Error::one() where applicable
This commit is contained in:
@ -77,8 +77,8 @@ void FixEnforce2D::init()
|
||||
if (myindex < 0)
|
||||
flist[nfixlist++] = modify->fix[i];
|
||||
else
|
||||
error->all(FLERR,fmt::format("Fix enforce2d must be defined after fix {}",
|
||||
modify->fix[i]->style));
|
||||
error->all(FLERR,"Fix enforce2d must be defined after fix {}",
|
||||
modify->fix[i]->style);
|
||||
}
|
||||
if (modify->fix[i] == this) myindex = i;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user