mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 19:35:50 +00:00
rename in lar_solver and memory corruption bug in cheap_eq
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
4936ace7cd
commit
6a678fd5be
5 changed files with 28 additions and 86 deletions
|
@ -196,7 +196,7 @@ struct solver::imp {
|
|||
}
|
||||
//
|
||||
void add_term(unsigned term_column) {
|
||||
lp::tv ti = lp::tv::raw(s.adjust_column_index_to_term_index(term_column));
|
||||
lp::tv ti = lp::tv::raw(s.column_to_reported_index(term_column));
|
||||
const lp::lar_term& t = s.get_term(ti);
|
||||
// code that creates a polynomial equality between the linear coefficients and
|
||||
// variable representing the term.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue