#17898: Removal of wrong stopgap
-------------------------------------+-------------------------------------
Reporter: aschilling | Owner:
Type: defect | Status: needs_work
Priority: major | Milestone: sage-6.6
Component: combinatorics | Resolution:
Keywords: stopgap, | Merged in:
partitions | Reviewers: Travis Scrimshaw,
Authors: Travis Scrimshaw, | Anne Schilling
Anne Schilling | Work issues:
Report Upstream: N/A | Commit:
Branch: | 2f7a90d8419ca8d2202b3cb31290e58194f666e3
public/combinat/fix_bad_stopgap-17898| Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Changes (by vbraun):
* status: positive_review => needs_work
Comment:
{{{
sage -t --long
src/doc/en/thematic_tutorials/lie/affine_finite_crystals.rst
**********************************************************************
File "src/doc/en/thematic_tutorials/lie/affine_finite_crystals.rst", line
169, in doc.en.thematic_tutorials.lie.affine_finite_crystals
Failed example:
K = crystals.KirillovReshetikhin(['D',6,1],4,2)
Exception raised:
Traceback (most recent call last):
File "/Users/buildslave-
sage/slave/sage_git/build/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 492, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/Users/buildslave-
sage/slave/sage_git/build/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 854, in compile_and_execute
exec(compiled, globs)
File "<doctest
doc.en.thematic_tutorials.lie.affine_finite_crystals[0]>", line 1, in
<module>
K =
crystals.KirillovReshetikhin(['D',Integer(6),Integer(1)],Integer(4),Integer(2))
File "/Users/buildslave-
sage/slave/sage_git/build/local/lib/python2.7/site-
packages/sage/combinat/crystals/kirillov_reshetikhin.py", line 337, in
KirillovReshetikhinCrystal
return KashiwaraNakashimaTableaux(cartan_type, r, s)
File "/Users/buildslave-
sage/slave/sage_git/build/local/lib/python2.7/site-
packages/sage/combinat/crystals/kirillov_reshetikhin.py", line 390, in
KashiwaraNakashimaTableaux
return KR_type_vertical(ct, r, s)
File "sage/misc/classcall_metaclass.pyx", line 330, in
sage.misc.classcall_metaclass.ClasscallMetaclass.__call__
(build/cythonized/sage/misc/classcall_metaclass.c:1246)
return cls.classcall(cls, *args, **opts)
File "/Users/buildslave-
sage/slave/sage_git/build/local/lib/python2.7/site-
packages/sage/combinat/crystals/affine.py", line 80, in __classcall__
return super(AffineCrystalFromClassical, cls).__classcall__(cls,
ct, *args, **options)
File "sage/misc/cachefunc.pyx", line 1298, in
sage.misc.cachefunc.WeakCachedFunction.__call__
(build/cythonized/sage/misc/cachefunc.c:8085)
w = self.f(*args, **kwds)
File "/Users/buildslave-
sage/slave/sage_git/build/local/lib/python2.7/site-
packages/sage/structure/unique_representation.py", line 1021, in
__classcall__
instance = typecall(cls, *args, **options)
File "sage/misc/classcall_metaclass.pyx", line 518, in
sage.misc.classcall_metaclass.typecall
(build/cythonized/sage/misc/classcall_metaclass.c:1673)
res = <object> PyType_Type.tp_call(cls, args, opts)
File "/Users/buildslave-
sage/slave/sage_git/build/local/lib/python2.7/site-
packages/sage/combinat/crystals/kirillov_reshetikhin.py", line 839, in
__init__
KirillovReshetikhinGenericCrystal.__init__(self, cartan_type, r,
s)
File "/Users/buildslave-
sage/slave/sage_git/build/local/lib/python2.7/site-
packages/sage/combinat/crystals/kirillov_reshetikhin.py", line 461, in
__init__
AffineCrystalFromClassical.__init__(self, cartan_type,
self.classical_decomposition())
File "/Users/buildslave-
sage/slave/sage_git/build/local/lib/python2.7/site-
packages/sage/combinat/crystals/kirillov_reshetikhin.py", line 978, in
classical_decomposition
shapes = vertical_dominoes_removed(self.r(),self.s()))
File "/Users/buildslave-
sage/slave/sage_git/build/local/lib/python2.7/site-
packages/sage/combinat/crystals/kirillov_reshetikhin.py", line 3461, in
vertical_dominoes_removed
return [x.conjugate() for x in horizontal_dominoes_removed(s,r)]
File "/Users/buildslave-
sage/slave/sage_git/build/local/lib/python2.7/site-
packages/sage/combinat/crystals/kirillov_reshetikhin.py", line 3475, in
horizontal_dominoes_removed
list = [ [y for y in x] + [0 for i in range(r-x.length())] for x
in partitions_in_box(r, int(s/2)) ]
File "/Users/buildslave-
sage/slave/sage_git/build/local/lib/python2.7/site-
packages/sage/combinat/crystals/kirillov_reshetikhin.py", line 3445, in
partitions_in_box
return [x for n in range(r*s+1) for x in
Partitions(n,max_part=s,max_length=r)]
File "sage/misc/classcall_metaclass.pyx", line 330, in
sage.misc.classcall_metaclass.ClasscallMetaclass.__call__
(build/cythonized/sage/misc/classcall_metaclass.c:1246)
return cls.classcall(cls, *args, **opts)
File "/Users/buildslave-
sage/slave/sage_git/build/local/lib/python2.7/site-
packages/sage/combinat/partition.py", line 4808, in __classcall_private__
if kwargs['min_slope'] > 0:
KeyError: 'min_slope'
**********************************************************************
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/17898#comment:31>
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.
For more options, visit https://groups.google.com/d/optout.