summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/quantifiers_rewriter.cpp
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2016-05-06 17:04:52 -0500
committerajreynol <andrew.j.reynolds@gmail.com>2016-05-06 17:04:52 -0500
commitdd84403eb19b769d80b4c57ae690ba14c02df041 (patch)
treeaa63f0f909ecd7063e38f7121c17cafb431abdf4 /src/theory/quantifiers/quantifiers_rewriter.cpp
parentc87ee73ad3d51c238700f236c18e425b80e8e7ac (diff)
Minor clean up, fixes related to sygus.
Diffstat (limited to 'src/theory/quantifiers/quantifiers_rewriter.cpp')
-rw-r--r--src/theory/quantifiers/quantifiers_rewriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theory/quantifiers/quantifiers_rewriter.cpp b/src/theory/quantifiers/quantifiers_rewriter.cpp
index 6963f7e62..e41dfc67a 100644
--- a/src/theory/quantifiers/quantifiers_rewriter.cpp
+++ b/src/theory/quantifiers/quantifiers_rewriter.cpp
@@ -230,7 +230,7 @@ RewriteResponse QuantifiersRewriter::postRewrite(TNode in) {
ret = ret.negate();
status = REWRITE_AGAIN_FULL;
}else if( in.getKind()==FORALL ){
- if( in[1].isConst() ){
+ if( in[1].isConst() && in.getNumChildren()==2 ){
return RewriteResponse( status, in[1] );
}else{
//compute attributes
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback