mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 18:31:49 +00:00
Bugfix for theory_fpa
This commit is contained in:
parent
fb0999b3cf
commit
ba70ab9ad2
|
@ -737,10 +737,11 @@ namespace smt {
|
|||
|
||||
expr_ref converted(m);
|
||||
converted = m.mk_and(convert(e), mk_side_conditions());
|
||||
if (is_true)
|
||||
assert_cnstr(m.mk_implies(e, converted));
|
||||
else
|
||||
assert_cnstr(m.mk_implies(m.mk_not(e), m.mk_not(converted)));
|
||||
|
||||
expr_ref cnstr(m);
|
||||
cnstr = (is_true) ? m.mk_implies(e, converted) : 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) {
|
||||
|
|
Loading…
Reference in a new issue