From cac7c59bb6731c626a18641584336d5db18763a2 Mon Sep 17 00:00:00 2001 From: Jacob Gissinger Date: Tue, 7 Dec 2021 23:36:05 -0500 Subject: [PATCH] error messages fix --- doc/src/Errors_messages.rst | 2 +- src/variable.cpp | 2 +- src/variable.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/src/Errors_messages.rst b/doc/src/Errors_messages.rst index 12f9da2404..27f518cf95 100644 --- a/doc/src/Errors_messages.rst +++ b/doc/src/Errors_messages.rst @@ -5286,7 +5286,7 @@ Doc page with :doc:`WARNING messages ` *Invalid math function in variable formula* Self-explanatory. -*Invalid math/group/special function in variable formula* +*Invalid math/group/special/labelmap function in variable formula* Self-explanatory. *Invalid option in lattice command for non-custom style* diff --git a/src/variable.cpp b/src/variable.cpp index ed106c8249..3dd200e381 100644 --- a/src/variable.cpp +++ b/src/variable.cpp @@ -1972,7 +1972,7 @@ double Variable::evaluate(char *str, Tree **tree, int ivar) "variable formula",ivar); // ---------------- - // math/group/special function or atom value/vector or + // math/group/special/labelmap function or atom value/vector or // constant or thermo keyword // ---------------- diff --git a/src/variable.h b/src/variable.h index bc77b14dfc..c5bdef287a 100644 --- a/src/variable.h +++ b/src/variable.h @@ -457,7 +457,7 @@ A variable is referenced incorrectly or an atom-style variable that produces per-atom values is used in an equal-style variable formula. -U: Invalid math/group/special function in variable formula +U: Invalid math/group/special/labelmap function in variable formula Self-explanatory.