summaryrefslogtreecommitdiff
path: root/src/smt
diff options
context:
space:
mode:
authorAndres Noetzli <andres.noetzli@gmail.com>2018-10-12 19:35:01 -0700
committerAndrew Reynolds <andrew.j.reynolds@gmail.com>2018-10-12 21:35:01 -0500
commit43cec89207dd1043608273769a20309167ad3c90 (patch)
tree6a69ac4d89d976ea552e6e6786c4cc8a2cf9291d /src/smt
parent8597f207187baff3b9f8cc5d8955e5b96d6d57d0 (diff)
Reset input language for ExprMiner subsolver (#2624)
Diffstat (limited to 'src/smt')
-rw-r--r--src/smt/smt_engine.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/smt/smt_engine.cpp b/src/smt/smt_engine.cpp
index 0a4859971..b1d6df852 100644
--- a/src/smt/smt_engine.cpp
+++ b/src/smt/smt_engine.cpp
@@ -2182,6 +2182,22 @@ void SmtEngine::setDefaults() {
<< endl;
options::bvLazyRewriteExtf.set(false);
}
+
+ if (!options::sygusExprMinerCheckUseExport())
+ {
+ if (options::sygusExprMinerCheckTimeout.wasSetByUser())
+ {
+ throw OptionException(
+ "--sygus-expr-miner-check-timeout=N requires "
+ "--sygus-expr-miner-check-use-export");
+ }
+ if (options::sygusRewSynthInput())
+ {
+ throw OptionException(
+ "--sygus-rr-synth-input requires "
+ "--sygus-expr-miner-check-use-export");
+ }
+ }
}
void SmtEngine::setProblemExtended(bool value)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback