From: Tim King Date: Tue, 27 Sep 2016 16:18:34 +0000 (-0700) Subject: Reverting part of the previous changes to unconstrained simplifier. X-Git-Tag: cvc5-1.0.0~6028^2~17 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4c27cb4c58d0f4acc79effc3ecc759aad976bcd3;p=cvc5.git Reverting part of the previous changes to unconstrained simplifier. --- diff --git a/src/theory/unconstrained_simplifier.cpp b/src/theory/unconstrained_simplifier.cpp index 32bbc662e..d13cc1f03 100644 --- a/src/theory/unconstrained_simplifier.cpp +++ b/src/theory/unconstrained_simplifier.cpp @@ -107,6 +107,7 @@ void UnconstrainedSimplifier::processUnconstrained() workList.push_back(*it); } Node currentSub; + TNode parent; bool swap; bool isSigned; bool strict; @@ -117,7 +118,7 @@ void UnconstrainedSimplifier::processUnconstrained() workList.pop_back(); for (;;) { Assert(d_visitedOnce.find(current) != d_visitedOnce.end()); - const TNode parent = d_visitedOnce[current]; + parent = d_visitedOnce[current]; if (!parent.isNull()) { swap = isSigned = strict = false; switch (parent.getKind()) {