summaryrefslogtreecommitdiff
path: root/src/theory/rewriter.cpp
diff options
context:
space:
mode:
authorlianah <lianahady@gmail.com>2013-12-02 19:41:56 -0500
committerlianah <lianahady@gmail.com>2013-12-02 19:41:56 -0500
commitfe31c46e11df64da6a9c4741525e09952ba016cf (patch)
tree2c249e30246b2d2802a28d969d5e2969d3bf3f3e /src/theory/rewriter.cpp
parent58a9d81a0f6da15ee2481dd1451a182341ff2a5b (diff)
fixed rewriter bug where postRewrite was not caching properly
Diffstat (limited to 'src/theory/rewriter.cpp')
-rw-r--r--src/theory/rewriter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/theory/rewriter.cpp b/src/theory/rewriter.cpp
index 979d5d88d..f9add4fac 100644
--- a/src/theory/rewriter.cpp
+++ b/src/theory/rewriter.cpp
@@ -139,7 +139,8 @@ Node Rewriter::rewriteTo(theory::TheoryId theoryId, Node node) {
rewriteStackTop.theoryId = theoryOf(cached);
}
}
-
+
+ rewriteStackTop.original =rewriteStackTop.node;
// Now it's time to rewrite the children, check if this has already been done
Node cached = Rewriter::getPostRewriteCache((TheoryId) rewriteStackTop.theoryId, rewriteStackTop.node);
// If not, go through the children
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback