3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-01 20:01:20 +00:00

Fixed bug reported by Heizmann at codeplex

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2012-11-07 07:52:07 -08:00
parent 8d6a091083
commit c5b91aef68
2 changed files with 7 additions and 4 deletions

View file

@ -3,6 +3,8 @@ RELEASE NOTES
Version 4.3.0 Version 4.3.0
============= =============
- Fixed bug during model construction reported by Heizmann (http://z3.codeplex.com/workitem/5)
- Remark: We skipped version 4.2 due to a mistake when releasing 4.1.2. Version 4.1.2 was accidentally tagged as 4.2. - Remark: We skipped version 4.2 due to a mistake when releasing 4.1.2. Version 4.1.2 was accidentally tagged as 4.2.
Thanks to Claude Marche for reporting this issue. Thanks to Claude Marche for reporting this issue.
From now on, we are also officially moving to a 3 number naming convention for version numbers. From now on, we are also officially moving to a 3 number naming convention for version numbers.

View file

@ -623,10 +623,11 @@ void proto_model::complete_partial_funcs() {
if (m_params.m_model_partial) if (m_params.m_model_partial)
return; return;
ptr_vector<func_decl>::iterator it = m_func_decls.begin(); // m_func_decls may be "expanded" when we invoke get_some_value.
ptr_vector<func_decl>::iterator end = m_func_decls.end(); // So, we must not use iterators to traverse it.
for (; it != end; ++it) for (unsigned i = 0; i < m_func_decls.size(); i++) {
complete_partial_func(*it); complete_partial_func(m_func_decls[i]);
}
} }
model * proto_model::mk_model() { model * proto_model::mk_model() {