improve error message

This commit is contained in:
Axel Kohlmeyer
2024-01-09 21:22:30 -05:00
parent df5461c27e
commit 7c744f170e

View File

@ -75,7 +75,7 @@ ComputePair::ComputePair(LAMMPS *lmp, int narg, char **arg) :
pair = force->pair_match(pstyle, 1, nsub);
}
if (!pair) error->all(FLERR, "Unrecognized pair style {} in compute pair command", pstyle);
if (!pair) error->all(FLERR, "Unused pair style {} in compute pair command", pstyle);
npair = pair->nextra;
if (npair) {