mirror of
https://github.com/Z3Prover/z3
synced 2025-12-30 15:59:52 +00:00
fixup parameter to enable pretty printing of range sort
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
ba13460511
commit
ec3aafd51e
1 changed files with 3 additions and 1 deletions
|
|
@ -161,7 +161,9 @@ func_decl * finite_set_decl_plugin::mk_finite_set_op(decl_kind k, unsigned arity
|
|||
polymorphism::util poly_util(m);
|
||||
sort_ref rng(m);
|
||||
poly_util.match(*m_sigs[k], arity, domain, range, rng);
|
||||
func_decl_info info(m_family_id, k);
|
||||
unsigned np = k == OP_FINITE_SET_UNIQUE_SET ? 1 : 0;
|
||||
parameter p(rng.get());
|
||||
func_decl_info info(m_family_id, k, np, &p);
|
||||
if (k == OP_FINITE_SET_UNION || k == OP_FINITE_SET_INTERSECT) {
|
||||
info.set_commutative(true);
|
||||
info.set_associative(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue