improve pair_coeff error message for pair styles derived from PairHybrid

This commit is contained in:
Axel Kohlmeyer
2023-05-09 02:40:55 -04:00
parent 820899cd5e
commit 9512568fd8
3 changed files with 3 additions and 3 deletions

View File

@ -516,7 +516,7 @@ void PairHybridScaled::coeff(int narg, char **arg)
if (strcmp(arg[2], "none") == 0)
none = 1;
else
error->all(FLERR, "Pair coeff for hybrid has invalid style");
error->all(FLERR, "Pair coeff for hybrid has invalid style: {}", arg[2]);
}
// move 1st/2nd args to 2nd/3rd args