summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@cs.nyu.edu>2013-11-29 11:32:29 -0500
committerMorgan Deters <mdeters@cs.nyu.edu>2013-11-29 11:32:29 -0500
commitd542d80f1241341752ed1843b63799435642c6f2 (patch)
tree1ec8f68fa99405de49b11ad1140baf0bebd28890 /src
parentff6d52af155e37e27bcc8a963ecf1c272067e1f2 (diff)
Fix proofs build.
Diffstat (limited to 'src')
-rw-r--r--src/options/options_template.cpp8
-rw-r--r--src/smt/smt_engine.cpp5
2 files changed, 7 insertions, 6 deletions
diff --git a/src/options/options_template.cpp b/src/options/options_template.cpp
index d97d11364..9c2d5aaa4 100644
--- a/src/options/options_template.cpp
+++ b/src/options/options_template.cpp
@@ -552,10 +552,6 @@ ${all_modules_option_handlers}
}
}
- if((*this)[options::incrementalSolving] && (*this)[options::proof]) {
- throw OptionException(std::string("The use of --incremental with --proof is not yet supported"));
- }
-
Debug("options") << "returning " << nonOptions.size() << " non-option arguments." << std::endl;
return nonOptions;
@@ -576,7 +572,7 @@ std::vector<std::string> Options::suggestCommandLineOptions(const std::string& o
static const char* smtOptions[] = {
${all_modules_smt_options},
-#line 580 "${template}"
+#line 576 "${template}"
NULL
};/* smtOptions[] */
@@ -598,7 +594,7 @@ SExpr Options::getOptions() const throw() {
${all_modules_get_options}
-#line 602 "${template}"
+#line 598 "${template}"
return SExpr(opts);
}
diff --git a/src/smt/smt_engine.cpp b/src/smt/smt_engine.cpp
index 2e1d5de3c..07b30a87e 100644
--- a/src/smt/smt_engine.cpp
+++ b/src/smt/smt_engine.cpp
@@ -1140,6 +1140,11 @@ void SmtEngine::setLogicInternal() throw() {
}
}
+ if (options::incrementalSolving() && options::proof()) {
+ Warning() << "SmtEngine: turning off incremental solving mode (not yet supported with --proof" << endl;
+ setOption("incremental", SExpr("false"));
+ }
+
// datatypes theory should assign values to all datatypes terms if logic is quantified
if (d_logic.isQuantified() && d_logic.isTheoryEnabled(THEORY_DATATYPES)) {
if( !options::dtForceAssignment.wasSetByUser() ){
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback