mirror of
https://github.com/Z3Prover/z3
synced 2025-06-28 08:58:44 +00:00
handling cancelation #4425
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
9f8887cc2e
commit
80d5d66158
1 changed files with 4 additions and 0 deletions
|
@ -190,6 +190,10 @@ lbool check_sat(tactic & t, goal_ref & g, model_ref & md, labels_vec & labels, p
|
||||||
(*mc)(labels);
|
(*mc)(labels);
|
||||||
model_converter2model(m, mc.get(), md);
|
model_converter2model(m, mc.get(), md);
|
||||||
}
|
}
|
||||||
|
if (!m.inc()) {
|
||||||
|
reason_unknown = "canceled";
|
||||||
|
return l_undef;
|
||||||
|
}
|
||||||
if (!md) {
|
if (!md) {
|
||||||
// create empty model.
|
// create empty model.
|
||||||
md = alloc(model, m);
|
md = alloc(model, m);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue