mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
fix model bugs
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
4b112d52df
commit
4adb24ede5
10 changed files with 79 additions and 73 deletions
|
@ -42,10 +42,8 @@ model::~model() {
|
|||
|
||||
|
||||
void model::copy_const_interps(model const & source) {
|
||||
decl2expr::iterator it1 = source.m_interp.begin();
|
||||
decl2expr::iterator end1 = source.m_interp.end();
|
||||
for (; it1 != end1; ++it1) {
|
||||
register_decl(it1->m_key, it1->m_value);
|
||||
for (auto const& kv : source.m_interp) {
|
||||
register_decl(kv.m_key, kv.m_value);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue