summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2016-05-10 15:10:10 -0500
committerajreynol <andrew.j.reynolds@gmail.com>2016-05-10 15:10:10 -0500
commitb78f4be5dac08916e0b189ba99f608a44fa08d5d (patch)
tree04e5f1d07c8832ed22f7e9bcc49bdf944a5964e2 /src
parent33e781995fb1384473fdec386c981a4aeb50b356 (diff)
Fix for --inst-max-level
Diffstat (limited to 'src')
-rw-r--r--src/theory/quantifiers_engine.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/theory/quantifiers_engine.cpp b/src/theory/quantifiers_engine.cpp
index afb7aeb92..21be4ea4f 100644
--- a/src/theory/quantifiers_engine.cpp
+++ b/src/theory/quantifiers_engine.cpp
@@ -1093,6 +1093,7 @@ bool QuantifiersEngine::addInstantiation( Node q, std::vector< Node >& terms, bo
//construct the lemma
Trace("inst-assert") << "(assert " << body << ")" << std::endl;
+ Node orig_body = body;
body = Rewriter::rewrite(body);
Node lem = NodeManager::currentNM()->mkNode( kind::OR, q.negate(), body );
lem = Rewriter::rewrite(lem);
@@ -1123,7 +1124,7 @@ bool QuantifiersEngine::addInstantiation( Node q, std::vector< Node >& terms, bo
}
}
}
- setInstantiationLevelAttr( body, q[1], maxInstLevel+1 );
+ setInstantiationLevelAttr( orig_body, q[1], maxInstLevel+1 );
}
if( d_curr_effort_level>QEFFORT_CONFLICT && d_curr_effort_level<QEFFORT_NONE ){
//notify listeners
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback