From 55f97e5fbcd4854c08e5358008f35ad25ff74a1e Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Tue, 6 Sep 2022 19:15:18 -0400 Subject: [PATCH] whitespace --- src/variable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/variable.cpp b/src/variable.cpp index 52d77023c1..092b324b0e 100644 --- a/src/variable.cpp +++ b/src/variable.cpp @@ -4378,7 +4378,7 @@ int Variable::special_function(char *word, char *contents, Tree **tree, Tree **t } else if (strcmp(word,"label2type") == 0) { if (narg != 2) print_var_error(FLERR,"Invalid label2type() function syntax in variable formula",ivar); - + if (!atom->labelmapflag) print_var_error(FLERR,"Cannot use label2type() function without a labelmap",ivar);