mirror of
https://github.com/Z3Prover/z3
synced 2025-09-05 17:47:41 +00:00
inequality
This commit is contained in:
parent
e6c9e13848
commit
7468b2326c
7 changed files with 28 additions and 29 deletions
|
@ -215,13 +215,6 @@ namespace polysat {
|
|||
return eval(a.apply_to(lhs()), a.apply_to(rhs()));
|
||||
}
|
||||
|
||||
inequality ule_constraint::as_inequality(bool is_positive) const {
|
||||
if (is_positive)
|
||||
return inequality(lhs(), rhs(), false, this);
|
||||
else
|
||||
return inequality(rhs(), lhs(), true, this);
|
||||
}
|
||||
|
||||
unsigned ule_constraint::hash() const {
|
||||
return mk_mix(lhs().hash(), rhs().hash(), kind());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue