mirror of
https://github.com/Z3Prover/z3
synced 2026-07-14 19:15:41 +00:00
fix: simplify type variable collection condition in decl_collector::visit_sort
This commit is contained in:
parent
154f71102d
commit
638e7b7bce
1 changed files with 1 additions and 3 deletions
|
|
@ -24,9 +24,7 @@ Revision History:
|
|||
void decl_collector::visit_sort(sort * n) {
|
||||
SASSERT(!m_visited.is_marked(n));
|
||||
family_id fid = n->get_family_id();
|
||||
if (m.is_uninterp(n))
|
||||
m_sorts.push_back(n);
|
||||
else if (fid == poly_family_id)
|
||||
if (m.is_uninterp(n) || fid == poly_family_id)
|
||||
m_sorts.push_back(n);
|
||||
else if (fid == m_dt_fid) {
|
||||
m_sorts.push_back(n);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue