mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
fix #5253
This commit is contained in:
parent
2ea4b0f4e0
commit
f02fbb49bb
2 changed files with 9 additions and 19 deletions
|
@ -1218,15 +1218,11 @@ namespace {
|
|||
linearise_multi_pattern(first_idx);
|
||||
}
|
||||
|
||||
#ifdef Z3DEBUG
|
||||
for (unsigned i = 0; i < m_qa->get_num_decls(); i++) {
|
||||
CTRACE("mam_new_bug", m_vars[i] < 0, tout << mk_ismt2_pp(m_qa, m) << "\ni: " << i << " m_vars[i]: " << m_vars[i] << "\n";
|
||||
tout << "m_mp:\n" << mk_ismt2_pp(m_mp, m) << "\n";
|
||||
tout << "tree:\n" << *m_tree << "\n";
|
||||
);
|
||||
SASSERT(m_vars[i] >= 0);
|
||||
}
|
||||
#endif
|
||||
// check that all variables are captured by pattern.
|
||||
for (unsigned i = 0; i < m_qa->get_num_decls(); i++)
|
||||
if (m_vars[i] == -1)
|
||||
return;
|
||||
|
||||
SASSERT(head->m_next == 0);
|
||||
m_seq.push_back(m_ct_manager.mk_yield(m_qa, m_mp, m_qa->get_num_decls(), reinterpret_cast<unsigned*>(m_vars.begin())));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue