mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
Bugfix for model construction. Fixes #828.
This commit is contained in:
parent
f1a704484b
commit
dc0d29a00c
1 changed files with 2 additions and 0 deletions
|
@ -93,6 +93,7 @@ void model_core::unregister_decl(func_decl * d) {
|
|||
m_manager.dec_ref(ec->get_data().m_key);
|
||||
m_manager.dec_ref(ec->get_data().m_value);
|
||||
m_interp.remove(d);
|
||||
m_const_decls.erase(d);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -101,5 +102,6 @@ void model_core::unregister_decl(func_decl * d) {
|
|||
m_manager.dec_ref(ef->get_data().m_key);
|
||||
dealloc(ef->get_data().m_value);
|
||||
m_finterp.remove(d);
|
||||
m_func_decls.erase(d);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue