From 7c744f170ed7aca37f9344720c9763194d896b25 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Tue, 9 Jan 2024 21:22:30 -0500 Subject: [PATCH] improve error message --- src/compute_pair.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compute_pair.cpp b/src/compute_pair.cpp index e789adbc89..1cb22a006f 100644 --- a/src/compute_pair.cpp +++ b/src/compute_pair.cpp @@ -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) {