mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 12:08:18 +00:00
copy usorts as well
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
2d0d527fe1
commit
f946fc516c
|
@ -131,14 +131,9 @@ public:
|
|||
m = m_model;
|
||||
return;
|
||||
}
|
||||
for (unsigned i = 0; i < m_model->get_num_constants(); ++i) {
|
||||
func_decl* f = m_model->get_constant(i);
|
||||
m->register_decl(f, m_model->get_const_interp(f));
|
||||
}
|
||||
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());
|
||||
}
|
||||
m->copy_const_interps(*m_model.get());
|
||||
m->copy_func_interps(*m_model.get());
|
||||
m->copy_usort_interps(*m_model.get());
|
||||
}
|
||||
|
||||
void operator()(labels_vec & r) override {
|
||||
|
|
Loading…
Reference in a new issue