mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 11:55:51 +00:00
add ability to register expressions during callback
This commit is contained in:
parent
50d50cdb48
commit
1e95fb44d1
9 changed files with 44 additions and 2 deletions
|
@ -47,6 +47,10 @@ namespace user_solver {
|
|||
DEBUG_CODE(validate_propagation(););
|
||||
}
|
||||
|
||||
unsigned solver::register_cb(expr* e) {
|
||||
return add_expr(e);
|
||||
}
|
||||
|
||||
sat::check_result solver::check() {
|
||||
if (!(bool)m_final_eh)
|
||||
return sat::check_result::CR_DONE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue