summaryrefslogtreecommitdiff
path: root/src/smt/smt_engine.cpp
diff options
context:
space:
mode:
authorKshitij Bansal <kshitij@cs.nyu.edu>2012-10-01 22:11:26 +0000
committerKshitij Bansal <kshitij@cs.nyu.edu>2012-10-01 22:11:26 +0000
commit35ac65b0034eacf2766d9e94be1c7fe9c116bb75 (patch)
treede4a0848b08485fa2d9fa60738e0a47b5c876dc5 /src/smt/smt_engine.cpp
parent2ee52cf8ccaa2e4514cd0e2023ee71a2b8b8d467 (diff)
"Fix" (disable) portfolio when using quantifiers
Other changes: * fix compile error in smt_engine in debug builds * add getLogicInfo in smt_engine * remove "empty-channel" and "disable-lemma-sharing" debug tags (this commit was certified error- and warning-free by the test-and-commit script.)
Diffstat (limited to 'src/smt/smt_engine.cpp')
-rw-r--r--src/smt/smt_engine.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/smt/smt_engine.cpp b/src/smt/smt_engine.cpp
index 069e5473e..08fdbec95 100644
--- a/src/smt/smt_engine.cpp
+++ b/src/smt/smt_engine.cpp
@@ -576,6 +576,10 @@ void SmtEngine::setLogic(const std::string& s) throw(ModalException) {
setLogic(LogicInfo(s));
}
+LogicInfo SmtEngine::getLogicInfo() const {
+ return d_logic;
+}
+
// This function is called when d_logic has just been changed.
// The LogicInfo isn't passed in explicitly, because that might
// tempt people in the code to use the (potentially unlocked)
@@ -1094,7 +1098,7 @@ Node SmtEnginePrivate::preSkolemizeQuantifiers( Node n, bool polarity, std::vect
}
return preSkolemizeQuantifiers( nn, polarity, fvs );
}else{
- Assert( n.getKind()==AND || n.getKind()==OR );
+ Assert( n.getKind() == kind::AND || n.getKind() == kind::OR );
std::vector< Node > children;
for( int i=0; i<(int)n.getNumChildren(); i++ ){
children.push_back( preSkolemizeQuantifiers( n[i], polarity, fvs ) );
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback