mirror of
https://github.com/Z3Prover/z3
synced 2025-07-18 18:36:41 +00:00
still integrating duality
This commit is contained in:
parent
feb5360999
commit
e939dd2bc5
10 changed files with 66 additions and 24 deletions
|
@ -294,7 +294,9 @@ namespace Duality {
|
|||
|
||||
/** Return the counterexample */
|
||||
virtual Counterexample GetCounterexample(){
|
||||
return cex;
|
||||
Counterexample res = cex;
|
||||
cex.tree = 0; // Cex now belongs to caller
|
||||
return res;
|
||||
}
|
||||
|
||||
// options
|
||||
|
@ -879,6 +881,7 @@ namespace Duality {
|
|||
#endif
|
||||
if(_cex) *_cex = cex;
|
||||
else delete cex.tree; // delete the cex if not required
|
||||
cex.tree = 0;
|
||||
node->Bound = save; // put back original bound
|
||||
timer_stop("ProveConjecture");
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue