mirror of
https://github.com/Z3Prover/z3
synced 2025-04-10 19:27:06 +00:00
fix str/seq parameter config
This commit is contained in:
parent
54e28a4fe7
commit
6fececaad9
src/smt
|
@ -41,7 +41,7 @@ void smt_params::updt_local_params(params_ref const & _p) {
|
|||
m_max_conflicts = p.max_conflicts();
|
||||
m_core_validate = p.core_validate();
|
||||
m_logic = _p.get_sym("logic", m_logic);
|
||||
m_string_solver = _p.get_sym("string_solver", m_string_solver);
|
||||
m_string_solver = p.string_solver();
|
||||
model_params mp(_p);
|
||||
m_model_compact = mp.compact();
|
||||
if (_p.get_bool("arith.greatest_error_pivot", false))
|
||||
|
|
|
@ -832,7 +832,6 @@ namespace smt {
|
|||
m_context.register_plugin(alloc(theory_seq, m_manager));
|
||||
} else if (m_params.m_string_solver == "auto") {
|
||||
if (st.m_has_seq_non_str) {
|
||||
NOT_IMPLEMENTED_YET();
|
||||
m_context.register_plugin(alloc(theory_seq, m_manager));
|
||||
} else {
|
||||
setup_str();
|
||||
|
@ -969,15 +968,6 @@ namespace smt {
|
|||
return;
|
||||
}
|
||||
|
||||
if (st.num_theories() == 2 && st.m_has_str && !st.m_has_seq_non_str) {
|
||||
setup_QF_S();
|
||||
return;
|
||||
}
|
||||
|
||||
if (st.num_theories() == 2 && st.m_has_seq_non_str) {
|
||||
m_context.register_plugin(alloc(theory_seq, m_manager));
|
||||
}
|
||||
|
||||
setup_unknown();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue