mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
na
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
af389db2b2
commit
666e835e08
4 changed files with 22 additions and 9 deletions
|
@ -27,7 +27,7 @@ user_propagator::user_propagator(context& ctx):
|
|||
{}
|
||||
|
||||
user_propagator::~user_propagator() {
|
||||
if (m_api_context) memory::deallocate(m_api_context);
|
||||
dealloc(m_api_context);
|
||||
}
|
||||
|
||||
void user_propagator::force_push() {
|
||||
|
@ -48,7 +48,10 @@ unsigned user_propagator::add_expr(expr* e) {
|
|||
return v;
|
||||
}
|
||||
|
||||
void user_propagator::propagate(unsigned num_fixed, unsigned const* fixed_ids, unsigned num_eqs, unsigned const* eq_lhs, unsigned const* eq_rhs, expr* conseq) {
|
||||
void user_propagator::propagate(
|
||||
unsigned num_fixed, unsigned const* fixed_ids,
|
||||
unsigned num_eqs, unsigned const* eq_lhs, unsigned const* eq_rhs,
|
||||
expr* conseq) {
|
||||
m_prop.push_back(prop_info(num_fixed, fixed_ids, num_eqs, eq_lhs, eq_rhs, expr_ref(conseq, m)));
|
||||
}
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ namespace smt {
|
|||
solver::fixed_eh_t m_fixed_eh;
|
||||
solver::eq_eh_t m_eq_eh;
|
||||
solver::eq_eh_t m_diseq_eh;
|
||||
void* m_api_context { nullptr };
|
||||
solver::context_obj* m_api_context { nullptr };
|
||||
|
||||
unsigned m_qhead { 0 };
|
||||
vector<prop_info> m_prop;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue