3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-04 05:11:21 +00:00

Fixed integration issues

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
Christoph M. Wintersteiger 2015-01-21 15:34:21 +00:00
parent 1a6af4385e
commit 1209302fe6
2 changed files with 5 additions and 5 deletions

View file

@ -82,7 +82,7 @@ namespace Duality {
if(rpfp) if(rpfp)
dealloc(rpfp); dealloc(rpfp);
if(ls) if(ls)
(ls); dealloc(ls);
} }
}; };

View file

@ -1492,11 +1492,11 @@ namespace nlarith {
} }
fml = mk_and(equivs.size(), equivs.c_ptr()); fml = mk_and(equivs.size(), equivs.c_ptr());
} }
void mk_pinf_sign(util::literal_set const& literals, app_ref& fml, app_ref_vector& new_atoms) { void mk_plus_inf_sign(util::literal_set const& literals, app_ref& fml, app_ref_vector& new_atoms) {
plus_inf_subst sub(*this); plus_inf_subst sub(*this);
mk_inf_sign(sub, literals, fml, new_atoms); mk_inf_sign(sub, literals, fml, new_atoms);
} }
void mk_ninf_sign(util::literal_set const& literals, app_ref& fml, app_ref_vector& new_atoms) { void mk_minus_inf_sign(util::literal_set const& literals, app_ref& fml, app_ref_vector& new_atoms) {
minus_inf_subst sub(*this); minus_inf_subst sub(*this);
mk_inf_sign(sub, literals, fml, new_atoms); mk_inf_sign(sub, literals, fml, new_atoms);
} }
@ -1704,10 +1704,10 @@ namespace nlarith {
app_ref fml(m()); app_ref fml(m());
app_ref_vector new_atoms(m()); app_ref_vector new_atoms(m());
if (is_pos) { if (is_pos) {
mk_pinf_sign(literals, fml, new_atoms); mk_plus_inf_sign(literals, fml, new_atoms);
} }
else { else {
mk_ninf_sign(literals, fml, new_atoms); mk_minus_inf_sign(literals, fml, new_atoms);
} }
simple_branch* br = alloc(simple_branch, m(), fml); simple_branch* br = alloc(simple_branch, m(), fml);
swap_atoms(br, literals.lits(), new_atoms); swap_atoms(br, literals.lits(), new_atoms);