mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 02:15:19 +00:00
patch for issue #232
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
773f90f122
commit
6e852762ba
|
@ -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…
Reference in a new issue