mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
fix crash
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
c3364f17fa
commit
2e6ae8cfd2
3 changed files with 10 additions and 8 deletions
|
@ -102,6 +102,7 @@ public:
|
|||
|
||||
unsigned find(unsigned v) const {
|
||||
while (true) {
|
||||
SASSERT(v < m_find.size());
|
||||
unsigned new_v = m_find[v];
|
||||
if (new_v == v)
|
||||
return v;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue