mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
fix build
reference types are not part of C
This commit is contained in:
parent
807121aa03
commit
f4c500c519
5 changed files with 12 additions and 7 deletions
|
@ -700,7 +700,7 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
#if 0
|
||||
#if 1
|
||||
|
||||
void bin_max_resolve(exprs const& _core, rational const& w) {
|
||||
expr_ref_vector core(m, _core.size(), _core.data());
|
||||
|
@ -708,8 +708,8 @@ public:
|
|||
for (unsigned i = 0; i + 1 < core.size(); ++i) {
|
||||
expr* a = core.get(i);
|
||||
expr* b = core.get(i + 1);
|
||||
expr_ref u = mk_fresh_bool("u");
|
||||
expr_ref v = mk_fresh_bool("v");
|
||||
expr* u = mk_fresh_bool("u");
|
||||
expr* v = mk_fresh_bool("v");
|
||||
// u = a or b
|
||||
// v = a and b
|
||||
cls = m.mk_or(a, b);
|
||||
|
@ -725,8 +725,13 @@ public:
|
|||
new_assumption(u, w);
|
||||
core.push_back(v);
|
||||
}
|
||||
s().assert_expr(m.mk_not(core.back()));
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
|
||||
struct unfold_record {
|
||||
ptr_vector<expr> ws;
|
||||
rational weight;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue