Hello,
currently in Sage, Partitions() are returned in reverse-lexicographic
order. But is this order (which is nowhere documented as far as I can
tell) really important? I am trying to fix Partitions and other related
functions in #17920. This works fine but the order of the output is
changed, leading to various doctest failures like
**********************************************************************
File "src/sage/combinat/k_tableau.py", line 4082, in
sage.combinat.k_tableau.StrongTableaux.__iter__
Failed example:
StrongTableaux(3, [5,2,2], weight=[3,3,1]).list()
Expected:
[[[-1, -1, -1, -2, -2], [-2, 2], [2, -3]], [[-1, -1, -1, 2, -2],
[-2, -2], [2, -3]], [[-1, -1, -1, -2, -3], [-2, -2], [2, 2]]]
Got:
[[[-1, -1, -1, -2, -2], [-2, 2], [2, -3]],
[[-1, -1, -1, -2, -3], [-2, -2], [2, 2]],
[[-1, -1, -1, 2, -2], [-2, -2], [2, -3]]]
**********************************************************************
I think it's safe to just change the doctests. However, if you disagree,
let me know!
Jeroen.
--
You received this message because you are subscribed to the Google Groups
"sage-devel" 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-devel.
For more options, visit https://groups.google.com/d/optout.