mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 13:28:47 +00:00
revert bit-resize issues
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
4b00d6aef2
commit
124e963b10
|
@ -37,7 +37,6 @@ namespace smt {
|
||||||
m_wpos.push_back(0);
|
m_wpos.push_back(0);
|
||||||
m_zero_one_bits.push_back(zero_one_bits());
|
m_zero_one_bits.push_back(zero_one_bits());
|
||||||
get_context().attach_th_var(n, this, r);
|
get_context().attach_th_var(n, this, r);
|
||||||
mk_bits(r);
|
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -162,6 +161,7 @@ namespace smt {
|
||||||
theory_var v = n->get_th_var(get_id());
|
theory_var v = n->get_th_var(get_id());
|
||||||
if (v == null_theory_var) {
|
if (v == null_theory_var) {
|
||||||
v = mk_var(n);
|
v = mk_var(n);
|
||||||
|
mk_bits(v);
|
||||||
}
|
}
|
||||||
return v;
|
return v;
|
||||||
}
|
}
|
||||||
|
@ -1092,7 +1092,7 @@ namespace smt {
|
||||||
|
|
||||||
void theory_bv::apply_sort_cnstr(enode * n, sort * s) {
|
void theory_bv::apply_sort_cnstr(enode * n, sort * s) {
|
||||||
if (!is_attached_to_var(n) && !approximate_term(n->get_owner())) {
|
if (!is_attached_to_var(n) && !approximate_term(n->get_owner())) {
|
||||||
mk_var(n);
|
mk_bits(mk_var(n));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue