mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 18:31:49 +00:00
add to m_touched_rows only when bound
propagation is required
This commit is contained in:
parent
013d5dc4db
commit
bfc37bd266
|
@ -619,11 +619,10 @@ namespace lp {
|
|||
}
|
||||
|
||||
void lar_solver::add_touched_row(unsigned rid) {
|
||||
m_touched_rows.insert(rid);
|
||||
if (m_settings.bound_propagation())
|
||||
m_touched_rows.insert(rid);
|
||||
}
|
||||
|
||||
|
||||
|
||||
bool lar_solver::use_tableau_costs() const {
|
||||
return m_settings.simplex_strategy() == simplex_strategy_enum::tableau_costs;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue