fix bug in recent bugfix

This commit is contained in:
Axel Kohlmeyer
2022-06-29 16:45:11 -04:00
parent bb3cd71e77
commit 8d8f7983fb

View File

@ -4803,6 +4803,7 @@ double Variable::evaluate_boolean(char *str)
} else if (opprevious == LT) {
if (flag1 || flag2)
error->all(FLERR,"If command boolean can only operate on numbers");
if (value1 < value2) argstack[nargstack].value = 1.0;
else argstack[nargstack].value = 0.0;
} else if (opprevious == LE) {
if (flag1 || flag2)