mirror of
https://github.com/Z3Prover/z3
synced 2025-06-06 06:03:23 +00:00
Bugfix for theory_fpa
This commit is contained in:
parent
fb0999b3cf
commit
ba70ab9ad2
1 changed files with 5 additions and 4 deletions
|
@ -737,10 +737,11 @@ namespace smt {
|
||||||
|
|
||||||
expr_ref converted(m);
|
expr_ref converted(m);
|
||||||
converted = m.mk_and(convert(e), mk_side_conditions());
|
converted = m.mk_and(convert(e), mk_side_conditions());
|
||||||
if (is_true)
|
|
||||||
assert_cnstr(m.mk_implies(e, converted));
|
expr_ref cnstr(m);
|
||||||
else
|
cnstr = (is_true) ? m.mk_implies(e, converted) : m.mk_implies(m.mk_not(e), m.mk_not(converted));
|
||||||
assert_cnstr(m.mk_implies(m.mk_not(e), m.mk_not(converted)));
|
m_th_rw(cnstr);
|
||||||
|
assert_cnstr(cnstr);
|
||||||
}
|
}
|
||||||
|
|
||||||
void theory_fpa::relevant_eh(app * n) {
|
void theory_fpa::relevant_eh(app * n) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue