3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-03 18:00:23 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-08-23 09:39:36 -07:00
parent af389db2b2
commit 666e835e08
4 changed files with 22 additions and 9 deletions

View file

@ -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)));
}