mirror of
https://github.com/Z3Prover/z3
synced 2025-05-12 02:04:43 +00:00
fixes to model construction
This commit is contained in:
parent
040c29a152
commit
c7ec2afedb
1 changed files with 1 additions and 4 deletions
|
@ -180,11 +180,8 @@ namespace smt {
|
|||
if (!bv.is_numeral(e, r)) {
|
||||
for (enode* sib : *n) {
|
||||
ie = m_translator.translated(sib->get_expr());
|
||||
if (ctx.e_internalized(ie)) {
|
||||
ctx.get_value(ctx.get_enode(ie), val);
|
||||
VERIFY(a.is_numeral(val, r));
|
||||
if (ctx.e_internalized(ie) && ctx.get_value(ctx.get_enode(ie), val) && a.is_numeral(val, r))
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
return alloc(expr_wrapper_proc, m_factory->mk_num_value(r, bv.get_bv_size(e)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue