mirror of
https://github.com/Z3Prover/z3
synced 2025-06-04 21:31:22 +00:00
fix str/seq parameter config
This commit is contained in:
parent
54e28a4fe7
commit
6fececaad9
2 changed files with 1 additions and 11 deletions
|
@ -41,7 +41,7 @@ void smt_params::updt_local_params(params_ref const & _p) {
|
||||||
m_max_conflicts = p.max_conflicts();
|
m_max_conflicts = p.max_conflicts();
|
||||||
m_core_validate = p.core_validate();
|
m_core_validate = p.core_validate();
|
||||||
m_logic = _p.get_sym("logic", m_logic);
|
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);
|
model_params mp(_p);
|
||||||
m_model_compact = mp.compact();
|
m_model_compact = mp.compact();
|
||||||
if (_p.get_bool("arith.greatest_error_pivot", false))
|
if (_p.get_bool("arith.greatest_error_pivot", false))
|
||||||
|
|
|
@ -832,7 +832,6 @@ namespace smt {
|
||||||
m_context.register_plugin(alloc(theory_seq, m_manager));
|
m_context.register_plugin(alloc(theory_seq, m_manager));
|
||||||
} else if (m_params.m_string_solver == "auto") {
|
} else if (m_params.m_string_solver == "auto") {
|
||||||
if (st.m_has_seq_non_str) {
|
if (st.m_has_seq_non_str) {
|
||||||
NOT_IMPLEMENTED_YET();
|
|
||||||
m_context.register_plugin(alloc(theory_seq, m_manager));
|
m_context.register_plugin(alloc(theory_seq, m_manager));
|
||||||
} else {
|
} else {
|
||||||
setup_str();
|
setup_str();
|
||||||
|
@ -969,15 +968,6 @@ namespace smt {
|
||||||
return;
|
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();
|
setup_unknown();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue