mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
change the signature of int_solver::check by adding explanation* parameter
Signed-off-by: Lev <levnach@hotmail.com>
This commit is contained in:
parent
9dbb56fdfc
commit
54f447d118
9 changed files with 61 additions and 36 deletions
|
@ -3521,7 +3521,8 @@ void test_maximize_term() {
|
|||
std::cout<< "v[" << p.first << "] = " << p.second << std::endl;
|
||||
}
|
||||
std::cout << "calling int_solver\n";
|
||||
lia_move lm = i_solver.check();
|
||||
explanation ex;
|
||||
lia_move lm = i_solver.check(&ex);
|
||||
VERIFY(lm == lia_move::sat);
|
||||
impq term_max;
|
||||
lp_status st = solver.maximize_term(term_2x_pl_2y, term_max);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue