Skip to content

Commit

Permalink
handling cancelation #4425
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
  • Loading branch information
NikolajBjorner committed Jun 4, 2020
1 parent 9f8887c commit 80d5d66
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tactic/tactic.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 80d5d66

Please sign in to comment.