mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 03:15:50 +00:00
fix regression exposed by segfault2.smt2 crash
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
e47cd27c8d
commit
ebe9db14d5
3 changed files with 8 additions and 8 deletions
|
@ -10,7 +10,7 @@ Abstract:
|
|||
<abstract>
|
||||
|
||||
Author:
|
||||
|
||||
|
||||
Leonardo de Moura (leonardo) 2007-03-08.
|
||||
|
||||
Revision History:
|
||||
|
@ -359,8 +359,8 @@ void proto_model::complete_partial_funcs() {
|
|||
|
||||
// m_func_decls may be "expanded" when we invoke get_some_value.
|
||||
// So, we must not use iterators to traverse it.
|
||||
for (func_decl* f : m_func_decls) {
|
||||
complete_partial_func(f);
|
||||
for (unsigned i = 0; i < m_func_decls.size(); i++) {
|
||||
complete_partial_func(m_func_decls[i]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue