3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 01:25:31 +00:00
remove "reflect" parameter from exposed options. It should be internal only.
This commit is contained in:
Nikolaj Bjorner 2021-09-03 16:01:59 -07:00
parent 0ddbbe9bd2
commit cdcfbeb6d8
4 changed files with 48 additions and 97 deletions

View file

@ -605,8 +605,7 @@ 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));
else
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));
}
else if (v != euf::null_theory_var) {
@ -617,7 +616,7 @@ namespace arith {
r = floor(r);
value = a.mk_numeral(r, o->get_sort());
}
else if (a.is_arith_expr(o)) {
else if (a.is_arith_expr(o) && reflect(o)) {
expr_ref_vector args(m);
for (auto* arg : *to_app(o)) {
if (m.is_value(arg))