mirror of
https://github.com/Z3Prover/z3
synced 2025-08-03 18:00:23 +00:00
redo edit
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
c54929e59f
commit
5be4365b47
1 changed files with 2 additions and 1 deletions
|
@ -189,11 +189,12 @@ public:
|
||||||
max_size = Number(usz);
|
max_size = Number(usz);
|
||||||
has_max = true;
|
has_max = true;
|
||||||
}
|
}
|
||||||
|
Number start = set->m_next;
|
||||||
Number & next = set->m_next;
|
Number & next = set->m_next;
|
||||||
while (!is_new) {
|
while (!is_new) {
|
||||||
result = mk_value(next, s, is_new);
|
result = mk_value(next, s, is_new);
|
||||||
next++;
|
next++;
|
||||||
if (has_max && next > max_size + set->m_next) {
|
if (has_max && next > max_size + start) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue