From aad232ffc64240a24f5421c46df0a5d84aceff0a Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Tue, 22 Aug 2023 11:46:57 -0400 Subject: [PATCH] fix typo --- src/variable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/variable.cpp b/src/variable.cpp index ce8f16cd68..f3c987f00c 100644 --- a/src/variable.cpp +++ b/src/variable.cpp @@ -1997,7 +1997,7 @@ double Variable::evaluate(char *str, Tree **tree, int ivar) // scalar from internal-style variable // access value directly - if (style[ivar] = INTERNAL) { + if (style[ivar] == INTERNAL) { value1 = dvalue[ivar]; if (tree) {