diff options
author | Andres Noetzli <andres.noetzli@gmail.com> | 2018-10-12 19:35:01 -0700 |
---|---|---|
committer | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2018-10-12 21:35:01 -0500 |
commit | 43cec89207dd1043608273769a20309167ad3c90 (patch) | |
tree | 6a69ac4d89d976ea552e6e6786c4cc8a2cf9291d /src/smt | |
parent | 8597f207187baff3b9f8cc5d8955e5b96d6d57d0 (diff) |
Reset input language for ExprMiner subsolver (#2624)
Diffstat (limited to 'src/smt')
-rw-r--r-- | src/smt/smt_engine.cpp | 16 |
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) |