mirror of
https://github.com/Z3Prover/z3
synced 2025-05-06 15:25:46 +00:00
parent
f2a7bcaf5d
commit
092c25d596
10 changed files with 62 additions and 20 deletions
|
@ -161,7 +161,10 @@ extern "C" {
|
|||
CHECK_NON_NULL(m, false);
|
||||
CHECK_IS_EXPR(t, false);
|
||||
model * _m = to_model_ref(m);
|
||||
expr_ref result(mk_c(c)->m());
|
||||
params_ref p;
|
||||
ast_manager& mgr = mk_c(c)->m();
|
||||
_m->set_solver(alloc(api::seq_expr_solver, mgr, p));
|
||||
expr_ref result(mgr);
|
||||
model::scoped_model_completion _scm(*_m, model_completion);
|
||||
result = (*_m)(to_expr(t));
|
||||
mk_c(c)->save_ast_trail(result.get());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue