mirror of
https://github.com/Z3Prover/z3
synced 2025-04-27 10:55:50 +00:00
enable logic parameter update to configure SMTLIB logic
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
31c58b0999
commit
7f51ecab37
5 changed files with 10 additions and 5 deletions
|
@ -123,6 +123,11 @@ public:
|
|||
TRACE("smt_tactic", tout << this << "\nupdt_params: " << p << "\n";);
|
||||
updt_params_core(p);
|
||||
fparams().updt_params(p);
|
||||
symbol logic = p.get_sym(symbol("logic"), symbol::null);
|
||||
if (logic != symbol::null) {
|
||||
if (m_ctx) m_ctx->set_logic(logic);
|
||||
m_logic = logic;
|
||||
}
|
||||
SASSERT(p.get_bool("auto_config", fparams().m_auto_config) == fparams().m_auto_config);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue