mirror of
https://github.com/Z3Prover/z3
synced 2025-06-27 08:28:44 +00:00
Allow adding constraints in the model_eh callback
This commit is contained in:
parent
fbd35fb58d
commit
d6d9b25c68
2 changed files with 18 additions and 6 deletions
|
@ -165,6 +165,7 @@ namespace opt {
|
|||
ast_manager& m;
|
||||
on_model_t m_on_model_ctx;
|
||||
std::function<void(on_model_t&, model_ref&)> m_on_model_eh;
|
||||
bool m_calling_on_model = false;
|
||||
arith_util m_arith;
|
||||
bv_util m_bv;
|
||||
expr_ref_vector m_hard_constraints;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue