mirror of
https://github.com/Z3Prover/z3
synced 2025-08-08 20:21:23 +00:00
changed timeout behavior in duality
This commit is contained in:
parent
0f13ec6e42
commit
7cc6ff0a4c
1 changed files with 6 additions and 0 deletions
|
@ -367,8 +367,14 @@ expr_ref dl_interface::get_answer() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void dl_interface::cancel() {
|
void dl_interface::cancel() {
|
||||||
|
#if 0
|
||||||
if(_d && _d->ls)
|
if(_d && _d->ls)
|
||||||
_d->ls->cancel();
|
_d->ls->cancel();
|
||||||
|
#else
|
||||||
|
// HACK: duality can't cancel at all times, we just exit here
|
||||||
|
std::cout << "(error \"duality canceled\")\nunknown\n";
|
||||||
|
exit(0);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void dl_interface::cleanup() {
|
void dl_interface::cleanup() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue