mirror of
https://github.com/Z3Prover/z3
synced 2025-11-29 08:49:51 +00:00
call it data instead of c_ptr for approaching C++11 std::vector convention.
This commit is contained in:
parent
524dcd35f9
commit
4a6083836a
456 changed files with 2802 additions and 2802 deletions
|
|
@ -92,11 +92,11 @@ bool horn_subsume_model_converter::mk_horn(
|
|||
}
|
||||
}
|
||||
expr_ref body_expr(m);
|
||||
body_expr = m.mk_and(conjs.size(), conjs.c_ptr());
|
||||
body_expr = m.mk_and(conjs.size(), conjs.data());
|
||||
|
||||
// substitute variables directly.
|
||||
if (!subst.empty()) {
|
||||
body_expr = vs(body_expr, subst.size(), subst.c_ptr());
|
||||
body_expr = vs(body_expr, subst.size(), subst.data());
|
||||
}
|
||||
|
||||
if (fv.empty()) {
|
||||
|
|
@ -104,7 +104,7 @@ bool horn_subsume_model_converter::mk_horn(
|
|||
body_res = body_expr;
|
||||
}
|
||||
else {
|
||||
body_res = m.mk_exists(fv.size(), fv.c_ptr(), names.c_ptr(), body_expr.get());
|
||||
body_res = m.mk_exists(fv.size(), fv.data(), names.data(), body_expr.get());
|
||||
m_rewrite(body_res);
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue