mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 18:31:49 +00:00
use of regions for AUX lemmas from pb solver
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
51267f3aba
commit
f47cc70236
|
@ -1771,7 +1771,7 @@ namespace smt {
|
|||
literal lits[2] = { l1, l2 };
|
||||
justification* js = 0;
|
||||
if (proofs_enabled()) {
|
||||
js = alloc(theory_axiom_justification, get_id(), get_context().get_region(), 2, lits);
|
||||
js = get_context().mk_justification(theory_axiom_justification(get_id(), get_context().get_region(), 2, lits));
|
||||
}
|
||||
return js;
|
||||
}
|
||||
|
@ -1779,7 +1779,7 @@ namespace smt {
|
|||
justification* theory_pb::justify(literal_vector const& lits) {
|
||||
justification* js = 0;
|
||||
if (proofs_enabled()) {
|
||||
js = alloc(theory_lemma_justification, get_id(), get_context(), lits.size(), lits.c_ptr());
|
||||
js = get_context().mk_justification(theory_axiom_justification(get_id(), get_context(), lits.size(), lits.c_ptr()));
|
||||
}
|
||||
return js;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue