mirror of
https://github.com/Z3Prover/z3
synced 2025-06-27 16:38:45 +00:00
fixes to build warnings
This commit is contained in:
parent
2ac6f8bb06
commit
826835fd7c
21 changed files with 20 additions and 65 deletions
|
@ -2127,9 +2127,9 @@ namespace smt {
|
|||
tout << "sum: " << sum << " " << maxsum << " ";
|
||||
tout << ctx.get_assignment(c.lit()) << "\n";);
|
||||
|
||||
SASSERT(sum <= maxsum);
|
||||
SASSERT((sum >= c.k()) == (ctx.get_assignment(c.lit()) == l_true));
|
||||
SASSERT((maxsum < c.k()) == (ctx.get_assignment(c.lit()) == l_false));
|
||||
VERIFY(sum <= maxsum);
|
||||
VERIFY((sum >= c.k()) == (ctx.get_assignment(c.lit()) == l_true));
|
||||
VERIFY((maxsum < c.k()) == (ctx.get_assignment(c.lit()) == l_false));
|
||||
}
|
||||
|
||||
void theory_pb::validate_final_check(ineq& c) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue