improve error message

This commit is contained in:
Axel Kohlmeyer
2023-03-18 20:00:58 -04:00
parent fce1f8e0af
commit c9af040be9

View File

@ -368,7 +368,7 @@ void FixAdapt::init()
void *ptr = ad->pair->extract(ad->pparam,ad->pdim);
if (ptr == nullptr)
error->all(FLERR,"Fix adapt pair style param not supported");
error->all(FLERR,"Fix adapt pair style {} param {} not supported", ad->pstyle, ad->pparam);
// for pair styles only parameters that are 2-d arrays in atom types or
// scalars are supported