mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 20:05:51 +00:00
persist fields
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
86c11b9349
commit
93ee2a68a4
7 changed files with 60 additions and 33 deletions
|
@ -264,7 +264,8 @@ namespace euf {
|
|||
solver* solver::copy_core() {
|
||||
ast_manager& to = m_translate ? m_translate->to() : m;
|
||||
atom2bool_var& a2b = m_translate_expr2var ? *m_translate_expr2var : m_expr2var;
|
||||
auto* r = alloc(solver, to, a2b, si);
|
||||
sat::sat_internalizer& to_si = m_translate_si ? *m_translate_si : si;
|
||||
auto* r = alloc(solver, to, a2b, to_si);
|
||||
r->m_config = m_config;
|
||||
std::function<void*(void*)> copy_justification = [&](void* x) { return (void*)(r->base_ptr() + ((unsigned*)x - base_ptr())); };
|
||||
r->m_egraph.copy_from(m_egraph, copy_justification);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue