#11440: compute the dimension of partition
------------------------------------------------------+---------------------
Reporter: pdehaye | Owner:
sage-combinat
Type: enhancement | Status:
needs_work
Priority: minor | Milestone:
sage-5.4
Component: combinatorics | Resolution:
Keywords: core, partition, path, young graph | Work issues:
Report Upstream: N/A | Reviewers:
Frédéric Chapoton
Authors: Paul-Olivier Dehaye | Merged in:
Dependencies: #11300, #11165 | Stopgaps:
------------------------------------------------------+---------------------
Changes (by jdemeyer):
* status: positive_review => needs_work
Comment:
I get a doctest failure
{{{
sage -t -force_lib devel/sage/sage/combinat/partition.py
**********************************************************************
File "/release/merger/sage-5.4.beta1/devel/sage-
main/sage/combinat/partition.py", line 3060:
sage: RestrictedPartitions(8,[1,3,5,7]).list()
Expected:
doctest:...: DeprecationWarning: RestrictedPartitions is deprecated;
use Partitions with the parts_in keyword instead.
See http://trac.sagemath.org/5478 for details.
[[7, 1], [5, 3], [5, 1, 1, 1], [3, 3, 1, 1], [3, 1, 1, 1, 1, 1], [1,
1, 1, 1, 1, 1, 1, 1]]
Got:
doctest:1: DeprecationWarning: RestrictedPartitions is deprecated; use
Partitions with the parts_in keyword instead.
See http://trac.sagemath.org/5478 for details.
doctest:2988: DeprecationWarning: RestrictedPartitions_nsk is
deprecated; use Partitions with the parts_in keyword instead.
See http://trac.sagemath.org/5478 for details.
[[7, 1], [5, 3], [5, 1, 1, 1], [3, 3, 1, 1], [3, 1, 1, 1, 1, 1], [1,
1, 1, 1, 1, 1, 1, 1]]
**********************************************************************
File "/release/merger/sage-5.4.beta1/devel/sage-
main/sage/combinat/partition.py", line 3085:
sage: RestrictedPartitions(8,[1,3,5,7]).cardinality()
Expected:
doctest:...: DeprecationWarning: RestrictedPartitions is deprecated;
use Partitions with the parts_in keyword instead.
See http://trac.sagemath.org/5478 for details.
doctest:...: DeprecationWarning: RestrictedPartitions_nsk is
deprecated; use Partitions with the parts_in keyword instead.
See http://trac.sagemath.org/5478 for details.
6
Got:
doctest:1: DeprecationWarning: RestrictedPartitions is deprecated; use
Partitions with the parts_in keyword instead.
See http://trac.sagemath.org/5478 for details.
6
**********************************************************************
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11440#comment:15>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.