fix error message

This commit is contained in:
Axel Kohlmeyer
2023-07-10 18:48:13 -04:00
parent cb27cb644f
commit a4b3306b7c

View File

@ -376,7 +376,7 @@ ComputePropertyAtom::ComputePropertyAtom(LAMMPS *lmp, int narg, char **arg) :
index[i] = atom->avec->property_atom(arg[iarg]);
if (index[i] < 0)
error->all(FLERR,"Invalid keyword {} for atom style {} in compute property/atom command ",
atom->get_style(), arg[iarg]);
arg[iarg], atom->get_style());
pack_choice[i] = &ComputePropertyAtom::pack_atom_style;
}
}