3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 17:15:31 +00:00

do not throttle lp bound propagation

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2020-02-07 14:21:11 -08:00
parent 6b01376f51
commit 6027224e34
2 changed files with 12 additions and 16 deletions

View file

@ -140,8 +140,10 @@ public:
for (unsigned j = m_changes.size(); j-- > first_change; ) {
const auto & p = m_changes[j];
unsigned jc = p.first;
if (jc < m_vector.size())
if (jc < m_vector.size()) {
m_vector[jc] = p.second; // restore the old value
m_vector[jc] = p.second; // restore the old value
}
}
resize(m_changes, first_change);