diff --git a/src/pair_table.cpp b/src/pair_table.cpp index 36eced6d3f..bd2a6be654 100644 --- a/src/pair_table.cpp +++ b/src/pair_table.cpp @@ -458,25 +458,25 @@ void PairTable::read_table(Table *tb, char *file, char *keyword) } if (ferror) - error->warning(FLERR,fmt::format("{} of {} force values in table are " + error->warning(FLERR,fmt::format("{} of {} force values in table {} are " "inconsistent with -dE/dr.\n Should " "only be flagged at inflection points", - ferror,tb->ninput)); + ferror,tb->ninput,keyword)); // warn if re-computed distance values differ from file values if (rerror) - error->warning(FLERR,fmt::format("{} of {} distance values in table with " - "relative error\n over {} to " + error->warning(FLERR,fmt::format("{} of {} distance values in table {} " + "with relative error\n over {} to " "re-computed values", - rerror,tb->ninput,EPSILONR)); + rerror,tb->ninput,EPSILONR,keyword)); // warn if data was read incompletely, e.g. columns were missing if (cerror) - error->warning(FLERR,fmt::format("{} of {} lines in table were " + error->warning(FLERR,fmt::format("{} of {} lines in table {} were " "incomplete\n or could not be parsed " - "completely",cerror,tb->ninput)); + "completely",cerror,tb->ninput,keyword)); } /* ----------------------------------------------------------------------