mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 05:18:44 +00:00
Merge branch 'unstable' of https://github.com/Z3Prover/z3 into unstable
This commit is contained in:
commit
c17fd2d516
|
@ -656,13 +656,12 @@ public:
|
|||
}
|
||||
|
||||
virtual void set_cancel(bool f) {
|
||||
m_nl_tac->set_cancel(f);
|
||||
if (f) {
|
||||
m_nl_tac->cancel();
|
||||
m_solver->cancel();
|
||||
}
|
||||
else {
|
||||
m_solver->reset_cancel();
|
||||
m_nl_tac->reset_cancel();
|
||||
}
|
||||
m_cancel = f;
|
||||
}
|
||||
|
|
|
@ -95,10 +95,11 @@ public:
|
|||
|
||||
// translate tactic to the given manager
|
||||
virtual tactic * translate(ast_manager & m) = 0;
|
||||
private:
|
||||
protected:
|
||||
friend class nary_tactical;
|
||||
friend class binary_tactical;
|
||||
friend class unary_tactical;
|
||||
friend class nl_purify_tactic;
|
||||
|
||||
virtual void set_cancel(bool f) {}
|
||||
|
||||
|
|
Loading…
Reference in a new issue