improve error message on fix_nve_noforce

This commit is contained in:
Akhlak Mahmood
2022-09-02 21:47:56 -04:00
parent 54d78e2f8e
commit 1f813a5eae

View File

@ -25,7 +25,7 @@ using namespace FixConst;
FixNVENoforce::FixNVENoforce(LAMMPS *lmp, int narg, char **arg) : Fix(lmp, narg, arg)
{
if (narg != 3) error->all(FLERR, "Illegal fix nve/noforce command");
if (narg != 3) utils::missing_cmd_args(FLERR, "fix nve/noforce", error);
time_integrate = 1;
}