mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 18:31:49 +00:00
initialization of proof_cmds
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
2842c27e92
commit
65ea4925b3
|
@ -936,8 +936,10 @@ extern "C" {
|
|||
if (!solver.m_cmd_context) {
|
||||
solver.m_cmd_context = alloc(cmd_context, false, &(mk_c(c)->m()));
|
||||
install_proof_cmds(*solver.m_cmd_context);
|
||||
init_proof_cmds(*solver.m_cmd_context);
|
||||
}
|
||||
|
||||
if (!solver.m_cmd_context->proof_cmds())
|
||||
init_proof_cmds(*solver.m_cmd_context);
|
||||
solver.m_cmd_context->get_proof_cmds()->register_on_clause(user_context, _on_clause);
|
||||
Z3_CATCH;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue