fix bug reported in issue #1410

This commit is contained in:
Axel Kohlmeyer 2019-04-04 22:39:58 -04:00
parent dbbf198edb
commit e359e80118
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
1 changed files with 1 additions and 1 deletions

View File

@ -2181,7 +2181,7 @@ double Variable::evaluate(char *str, Tree **tree, int ivar)
if (tree) {
Tree *newtree = new Tree();
newtree->type = opprevious;
if (opprevious == UNARY) {
if ((opprevious == UNARY) || (opprevious == NOT)) {
newtree->first = treestack[--ntreestack];
newtree->second = NULL;
newtree->nextra = 0;