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