mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 08:35:31 +00:00
prepare release
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
b6f7deacf4
commit
c826b64e35
3 changed files with 7 additions and 4 deletions
|
@ -627,8 +627,9 @@ namespace arith {
|
|||
else if (use_nra_model() && lp().external_to_local(v) != lp::null_lpvar) {
|
||||
anum const& an = nl_value(v, *m_a1);
|
||||
if (a.is_int(o) && !m_nla->am().is_int(an))
|
||||
value = a.mk_numeral(rational::zero(), a.is_int(o));
|
||||
//value = a.mk_numeral(m_nla->am(), nl_value(v, *m_a1), a.is_int(o));
|
||||
value = a.mk_numeral(rational::zero(), a.is_int(o));
|
||||
else
|
||||
value = a.mk_numeral(m_nla->am(), nl_value(v, *m_a1), a.is_int(o));
|
||||
}
|
||||
else if (v != euf::null_theory_var) {
|
||||
rational r = get_value(v);
|
||||
|
|
|
@ -131,6 +131,7 @@ namespace euf {
|
|||
|
||||
void solver::dependencies2values(user_sort& us, deps_t& deps, model_ref& mdl) {
|
||||
for (enode* n : deps.top_sorted()) {
|
||||
TRACE("model", tout << bpp(n->get_root()) << "\n");
|
||||
unsigned id = n->get_root_id();
|
||||
if (m_values.get(id, nullptr))
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue