summaryrefslogtreecommitdiff
path: root/src/theory/rewriter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/rewriter.cpp')
-rw-r--r--src/theory/rewriter.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/theory/rewriter.cpp b/src/theory/rewriter.cpp
index a5d011e9f..02e35a46f 100644
--- a/src/theory/rewriter.cpp
+++ b/src/theory/rewriter.cpp
@@ -235,6 +235,10 @@ Node Rewriter::rewriteTo(theory::TheoryId theoryId, Node node, RewriteProof* rp)
} else if (response.status == REWRITE_DONE) {
#ifdef CVC4_ASSERTIONS
RewriteResponse r2 = Rewriter::callPostRewrite(newTheoryId, response.node);
+ if (r2.node != response.node) {
+ std::cout << rewriteStackTop.node << std::endl;
+ std::cout << r2.node << " IS NOT EQUAL TO " << response.node << std::endl;
+ }
Assert(r2.node == response.node);
#endif
rewriteStackTop.node = response.node;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback