mirror of
https://github.com/Z3Prover/z3
synced 2025-06-18 20:03:38 +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
1 changed files with 2 additions and 2 deletions
|
@ -1771,7 +1771,7 @@ namespace smt {
|
||||||
literal lits[2] = { l1, l2 };
|
literal lits[2] = { l1, l2 };
|
||||||
justification* js = 0;
|
justification* js = 0;
|
||||||
if (proofs_enabled()) {
|
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;
|
return js;
|
||||||
}
|
}
|
||||||
|
@ -1779,7 +1779,7 @@ namespace smt {
|
||||||
justification* theory_pb::justify(literal_vector const& lits) {
|
justification* theory_pb::justify(literal_vector const& lits) {
|
||||||
justification* js = 0;
|
justification* js = 0;
|
||||||
if (proofs_enabled()) {
|
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;
|
return js;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue