From 4a92316cf2c8b48e59342c45c6883740f5023f79 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Wed, 7 Dec 2022 15:02:59 -0500 Subject: [PATCH] improve error message --- src/variable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/variable.cpp b/src/variable.cpp index bb45649208..c07e62648b 100644 --- a/src/variable.cpp +++ b/src/variable.cpp @@ -4529,7 +4529,7 @@ void Variable::peratom2global(int flag, char *word, double *vector, int nstride, error->one(FLERR,"Variable uses atom property that isn't allocated"); mine = atom->q[index]; } - else error->one(FLERR,"Invalid atom vector in variable formula"); + else error->one(FLERR,"Invalid atom vector {} in variable formula", word); } else mine = vector[index*nstride];