mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 13:28:47 +00:00
add an assert in add_abs_bound
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
c7dec3ef4d
commit
5c949d74d8
|
@ -2902,6 +2902,7 @@ struct solver::imp {
|
|||
}
|
||||
|
||||
void add_abs_bound(lpvar v, llc cmp, rational const& bound) {
|
||||
SASSERT(!vvr(v).is_zero());
|
||||
lp::lar_term t; // t = abs(v)
|
||||
t.add_coeff_var(rrat_sign(vvr(v)), v);
|
||||
|
||||
|
|
Loading…
Reference in a new issue