mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
initialization of proof_cmds
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
2842c27e92
commit
65ea4925b3
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue