Located the error: in permutation.py, lines 3758 and 3766,
bisect should be replaced by bisect_left, as follows:
from bisect import bisect_left
permutation = []
d = dict((qij,i) for i,Li in enumerate(q) for qij in Li)
p = map(list, p)
for i in reversed(d.values()):
x
Hey Jean-Yves,
If you want to write a small patch to fix this to get something merged
into sage, please let me know because I might need to rebase
trac_8392-check_permutation-ts.patch (I can also review it). Otherwise I
can work the fix in my aforementioned patch because I'm reworking the
Hi Travis,
if you can fix it, that's fine for me.
Thanks,
Jean-Yves
Le mardi 22 janvier 2013 04:15:16 UTC+1, Travis Scrimshaw a écrit :
(turns out I've unintentionally had the fix for this, although it's not
yet in Permutation_class.robinson_schensted() :-P ).
Scratch that last bit, this