mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 16:45:31 +00:00
address ASAN bug report #1160
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
b1298d7bde
commit
1a07c6c188
1 changed files with 2 additions and 1 deletions
|
@ -954,7 +954,8 @@ namespace opt {
|
|||
row& r1 = m_rows[row_id1];
|
||||
vector<var> coeffs;
|
||||
mk_coeffs_without(coeffs, r1.m_vars, x);
|
||||
add_divides(coeffs, r1.m_coeff, abs(a));
|
||||
rational c = r1.m_coeff;
|
||||
add_divides(coeffs, c, abs(a));
|
||||
}
|
||||
unsigned_vector const& row_ids = m_var2row_ids[x];
|
||||
uint_set visited;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue