mirror of
https://github.com/Z3Prover/z3
synced 2025-10-09 17:31:57 +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
|
@ -78,7 +78,7 @@ struct mus::imp {
|
|||
}
|
||||
|
||||
lbool get_mus1(expr_ref_vector& mus) {
|
||||
ptr_vector<expr> unknown(m_lit2expr.size(), m_lit2expr.c_ptr());
|
||||
ptr_vector<expr> unknown(m_lit2expr.size(), m_lit2expr.data());
|
||||
expr_ref_vector core_exprs(m);
|
||||
TRACE("mus", m_solver.display(tout););
|
||||
while (!unknown.empty()) {
|
||||
|
@ -129,7 +129,7 @@ struct mus::imp {
|
|||
lbool get_mus2(expr_ref_vector& mus) {
|
||||
expr* lit = nullptr;
|
||||
lbool is_sat;
|
||||
ptr_vector<expr> unknown(m_lit2expr.size(), m_lit2expr.c_ptr());
|
||||
ptr_vector<expr> unknown(m_lit2expr.size(), m_lit2expr.data());
|
||||
while (!unknown.empty()) {
|
||||
IF_VERBOSE(12, verbose_stream() << "(mus reducing core: " << unknown.size() << " new core: " << mus.size() << ")\n";);
|
||||
{
|
||||
|
@ -281,7 +281,7 @@ struct mus::imp {
|
|||
scoped_append(imp& imp, expr_ref_vector& fmls1, ptr_vector<expr> const& fmls2):
|
||||
m_fmls(fmls1),
|
||||
m_size(fmls1.size()) {
|
||||
fmls1.append(fmls2.size(), fmls2.c_ptr());
|
||||
fmls1.append(fmls2.size(), fmls2.data());
|
||||
}
|
||||
scoped_append(imp& imp, expr_ref_vector& fmls1, expr* fml):
|
||||
m_fmls(fmls1),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue