mirror of
https://github.com/Z3Prover/z3
synced 2025-05-06 15:25:46 +00:00
fixing 2267
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
16af728fbe
commit
28ce701e17
15 changed files with 174 additions and 48 deletions
|
@ -162,7 +162,9 @@ extern "C" {
|
|||
model * _m = to_model_ref(m);
|
||||
params_ref p;
|
||||
ast_manager& mgr = mk_c(c)->m();
|
||||
_m->set_solver(alloc(api::seq_expr_solver, mgr, p));
|
||||
if (!_m->has_solver()) {
|
||||
_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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue