#13072: Implementation of PartitionTuple + some minor fixes to partition.py
----------------------------------------+-----------------------------------
Reporter: andrew.mathas | Owner: Andrew Mathas
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-5.5
Component: combinatorics | Resolution:
Keywords: tuples of partitions | Work issues:
Report Upstream: N/A | Reviewers: Travis Scrimshaw
Authors: Andrew Mathas | Merged in:
Dependencies: #9265, #11446 | Stopgaps:
----------------------------------------+-----------------------------------
Comment (by jdemeyer):
{{{
sage -t --long -force_lib devel/sage/sage/combinat/partition.py
**********************************************************************
File "/release/merger/sage-5.5.beta0/devel/sage-
main/sage/combinat/partition.py", line 434:
sage: all(test2(core,tuple(mus)) # long time (5s on sage.math, 2011)
for k in range(Integer(1),Integer(10))
for n_core in range(Integer(10)-k)
for core in Partitions(n_core)
if core.core(k) == core
for n_mus in range(Integer(10)-k)
for mus in PartitionTuples(n_mus,k))
Exception raised:
Traceback (most recent call last):
File "/release/merger/sage-5.5.beta0/local/bin/ncadoctest.py", line
1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/release/merger/sage-5.5.beta0/local/bin/sagedoctest.py", line
38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File "/release/merger/sage-5.5.beta0/local/bin/ncadoctest.py", line
1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_5[6]>", line 2, in <module>
for k in range(Integer(1),Integer(10))
File "<doctest __main__.example_5[6]>", line 7, in <genexpr>
for mus in PartitionTuples(n_mus,k))
File "classcall_metaclass.pyx", line 279, in
sage.misc.classcall_metaclass.ClasscallMetaclass.__call__
(sage/misc/classcall_metaclas
s.c:946)
File "/release/merger/sage-5.5.beta0/local/lib/python/site-
packages/sage/combinat/partition_tuple.py", line 1059, in __classcall_pri
vate__
raise ValueError, 'the level must be a positive integer'
ValueError: the level must be a positive integer
**********************************************************************
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13072#comment:40>
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.