improve error messages on fix_nve_limit

This commit is contained in:
Akhlak Mahmood
2022-09-02 21:49:55 -04:00
parent 1f813a5eae
commit ffff660dd2

View File

@ -32,7 +32,7 @@ using namespace FixConst;
FixNVELimit::FixNVELimit(LAMMPS *lmp, int narg, char **arg) :
Fix(lmp, narg, arg)
{
if (narg != 4) error->all(FLERR,"Illegal fix nve/limit command");
if (narg != 4) utils::missing_cmd_args(FLERR, "fix nve/limit", error);
time_integrate = 1;
scalar_flag = 1;