From 2ea1c78376239406ec79412a8c10a314abfba52b Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Fri, 4 Aug 2023 02:24:52 -0400 Subject: [PATCH] cosmetic --- cmake/packaging/build_windows_cross_zip.sh | 2 +- src/fix_efield.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/packaging/build_windows_cross_zip.sh b/cmake/packaging/build_windows_cross_zip.sh index ca2516249e..f557351fbe 100755 --- a/cmake/packaging/build_windows_cross_zip.sh +++ b/cmake/packaging/build_windows_cross_zip.sh @@ -21,7 +21,7 @@ do \ test ${doskip} -eq 1 && continue test -f ${DESTDIR}/bin/${dll} || cp -v ${SYSROOT}/bin/${dll} ${DESTDIR}/bin done - + echo "Copy required Qt plugins" mkdir -p ${DESTDIR}/qt5plugins for plugin in imageformats platforms styles diff --git a/src/fix_efield.cpp b/src/fix_efield.cpp index d01a498d39..9132904b80 100644 --- a/src/fix_efield.cpp +++ b/src/fix_efield.cpp @@ -89,7 +89,7 @@ FixEfield::FixEfield(LAMMPS *lmp, int narg, char **arg) : if (iarg + 2 > narg) utils::missing_cmd_args(FLERR, std::string("fix ") + style + " region", error); region = domain->get_region_by_id(arg[iarg + 1]); - if (!region) error->all(FLERR, "Region {} for fix efield does not exist", arg[iarg + 1]); + if (!region) error->all(FLERR, "Region {} for fix {} does not exist", arg[iarg + 1], style); idregion = utils::strdup(arg[iarg + 1]); iarg += 2; } else if (strcmp(arg[iarg], "energy") == 0) {