mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
Update Network Simplex implementation
This commit is contained in:
parent
d78d22deb6
commit
906bbb4eeb
4 changed files with 200 additions and 152 deletions
|
@ -598,7 +598,7 @@ namespace datalog {
|
|||
// 0 <= y - x - k - 1
|
||||
if (is_le(to_app(cond->get_arg(0)), x, k, y, is_int) && is_int) {
|
||||
k.neg();
|
||||
k -= rational::one();
|
||||
k -= rational::one();
|
||||
std::swap(x, y);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue