From b34a7b431999099efce364607138bcefbe5725e8 Mon Sep 17 00:00:00 2001 From: Nikolaj Bjorner Date: Thu, 28 May 2026 07:57:07 -0700 Subject: [PATCH] use trail stack from context for ho-matcher --- src/smt/smt_quantifier.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/smt/smt_quantifier.cpp b/src/smt/smt_quantifier.cpp index ac18bd5e0..c96d741ce 100644 --- a/src/smt/smt_quantifier.cpp +++ b/src/smt/smt_quantifier.cpp @@ -612,7 +612,6 @@ namespace smt { scoped_ptr m_model_finder; scoped_ptr m_model_checker; scoped_ptr m_ho_matcher; - trail_stack m_ho_trail; unsigned m_new_enode_qhead; unsigned m_lazy_matching_idx; bool m_active; @@ -654,7 +653,7 @@ namespace smt { m_model_checker->set_qm(qm); if (m_fparams->m_ho_matching) { - m_ho_matcher = alloc(euf::ho_matcher, m, m_ho_trail); + m_ho_matcher = alloc(euf::ho_matcher, m, m_context->get_trail_stack()); std::function on_match = [&](euf::ho_subst& s) { on_ho_match(s); }; @@ -777,13 +776,13 @@ namespace smt { void push() override { m_mam->push_scope(); m_lazy_mam->push_scope(); - m_model_finder->push_scope(); + m_model_finder->push_scope(); } void pop(unsigned num_scopes) override { m_mam->pop_scope(num_scopes); m_lazy_mam->pop_scope(num_scopes); - m_model_finder->pop_scope(num_scopes); + m_model_finder->pop_scope(num_scopes); } void init_search_eh() override {