3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-07 18:05:21 +00:00
This commit is contained in:
Nikolaj Bjorner 2020-12-02 12:46:24 -08:00
parent 12198d13ac
commit 6d427d9dae

View file

@ -3222,6 +3222,14 @@ public:
init_variable_values();
m_factory = alloc(arith_factory, m);
mg.register_factory(m_factory);
if (m_model_is_initialized) {
expr_ref val(m);
unsigned nv = th.get_num_vars();
for (unsigned v = 0; v < nv; ++v)
if (get_value(get_enode(v), val))
m_factory->register_value(val);
}
TRACE("arith", display(tout););
}