mirror of
https://github.com/Z3Prover/z3
synced 2025-06-06 22:23:22 +00:00
fix #3055, bound iterations of subpaving
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
589db2052a
commit
ab9bcfdcce
1 changed files with 2 additions and 3 deletions
|
@ -1747,9 +1747,8 @@ void context_t<C>::propagate(node * n, bound * b) {
|
||||||
|
|
||||||
template<typename C>
|
template<typename C>
|
||||||
void context_t<C>::propagate(node * n) {
|
void context_t<C>::propagate(node * n) {
|
||||||
while (m_qhead < m_queue.size()) {
|
unsigned num_nodes = num_vars();
|
||||||
if (inconsistent(n))
|
while (!inconsistent(n) && m_qhead < m_queue.size() && 2*m_qhead < num_nodes) {
|
||||||
break;
|
|
||||||
checkpoint();
|
checkpoint();
|
||||||
bound * b = m_queue[m_qhead];
|
bound * b = m_queue[m_qhead];
|
||||||
SASSERT(is_bound_of(b, n));
|
SASSERT(is_bound_of(b, n));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue