mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 16:45:31 +00:00
patch for issue #232
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
773f90f122
commit
6e852762ba
1 changed files with 7 additions and 0 deletions
|
@ -1593,6 +1593,13 @@ namespace smt {
|
|||
TRACE("opt", tout << "after traversing row:\nx_i: v" << x_i << ", x_j: v" << x_j << ", gain: " << max_gain << "\n";
|
||||
tout << "best efforts: " << best_efforts << " has shared: " << has_shared << "\n";);
|
||||
|
||||
if (x_j == null_theory_var && x_i == null_theory_var) {
|
||||
has_shared = false;
|
||||
best_efforts = 0;
|
||||
result = UNBOUNDED;
|
||||
break;
|
||||
}
|
||||
|
||||
if (x_j == null_theory_var) {
|
||||
TRACE("opt", tout << "row is " << (max ? "maximized" : "minimized") << "\n";
|
||||
display_row(tout, r, true););
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue