3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-18 18:36:41 +00:00

still integrating duality

This commit is contained in:
Ken McMillan 2013-04-30 13:07:49 -07:00
parent feb5360999
commit e939dd2bc5
10 changed files with 66 additions and 24 deletions

View file

@ -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;