mirror of
https://github.com/Z3Prover/z3
synced 2025-06-06 06:03:23 +00:00
copy usorts as well
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
2d0d527fe1
commit
f946fc516c
1 changed files with 3 additions and 8 deletions
|
@ -131,14 +131,9 @@ public:
|
||||||
m = m_model;
|
m = m_model;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
for (unsigned i = 0; i < m_model->get_num_constants(); ++i) {
|
m->copy_const_interps(*m_model.get());
|
||||||
func_decl* f = m_model->get_constant(i);
|
m->copy_func_interps(*m_model.get());
|
||||||
m->register_decl(f, m_model->get_const_interp(f));
|
m->copy_usort_interps(*m_model.get());
|
||||||
}
|
|
||||||
for (unsigned i = 0; i < m_model->get_num_functions(); ++i) {
|
|
||||||
func_decl* f = m_model->get_function(i);
|
|
||||||
m->register_decl(f, m_model->get_func_interp(f)->copy());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void operator()(labels_vec & r) override {
|
void operator()(labels_vec & r) override {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue