improve error message

This commit is contained in:
Axel Kohlmeyer 2020-08-19 15:08:04 -04:00
parent b4ce4a0979
commit a0aca4cee4
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
1 changed files with 1 additions and 1 deletions

View File

@ -1193,7 +1193,7 @@ void Modify::add_compute(int narg, char **arg, int trysuffix)
for (int icompute = 0; icompute < ncompute; icompute++)
if (strcmp(arg[0],compute[icompute]->id) == 0)
error->all(FLERR,"Reuse of compute ID");
error->all(FLERR,fmt::format("Reuse of compute ID '{}'",arg[0]));
// extend Compute list if necessary