mirror of
https://github.com/Z3Prover/z3
synced 2025-04-10 19:27:06 +00:00
dampen second setup of theory_bv
This commit is contained in:
parent
5f6f2fc758
commit
c0f1f33898
|
@ -689,9 +689,12 @@ namespace smt {
|
|||
}
|
||||
|
||||
void setup::setup_bv() {
|
||||
family_id bv_fid = m_manager.mk_family_id("bv");
|
||||
if (m_context.get_theory(bv_fid))
|
||||
return;
|
||||
switch(m_params.m_bv_mode) {
|
||||
case BS_NO_BV:
|
||||
m_context.register_plugin(alloc(smt::theory_dummy, m_context, m_manager.mk_family_id("bv"), "no bit-vector"));
|
||||
m_context.register_plugin(alloc(smt::theory_dummy, m_context, bv_fid, "no bit-vector"));
|
||||
break;
|
||||
case BS_BLASTER:
|
||||
m_context.register_plugin(alloc(smt::theory_bv, m_context));
|
||||
|
|
Loading…
Reference in a new issue