#14541: Family over enumerated set has wrong category
--------------------------------------------------------------+-------------
Reporter: cnassau | Owner:
nthiery
Type: defect | Status:
new
Priority: minor | Milestone:
sage-5.10
Component: categories | Resolution:
Keywords: Family, Category of finite enumerated sets | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
--------------------------------------------------------------+-------------
Comment (by cnassau):
Replying to [comment:1 nthiery]:
> As a workaround, line 832 of Family, when the input is a
CombinatorialClass, we could ask whether x.cardinality() != infinity. The
risk is to trigger the enumeration of the elements of the combinatorial
class which might take a while ... Or check if cardinality actually is
implemented (i.e. is not the default _cardinality_from_iterator), and if
yes call it.
This sounds like a solution that might fix the issue that I'm seeing with
my (still nascent) Steenrod algebra module package. I'll try to prepare a
patch along these lines.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14541#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.