[sage-combinat-devel] queue broken with

2013-01-21 Thread Anne Schilling
Hi! The sage-combinat queue currently seems broken with sage-5.6.rc0: applying trac_10193-graded_enumerated_sets-nt.patch patching file sage/combinat/integer_vector_weighted.py Hunk #1 FAILED at 0 Hunk #4 FAILED at 199 2 out of 4 hunks FAILED -- saving rejects to file

[sage-combinat-devel] Re: Robinson-Schensted bug

2013-01-21 Thread Jean-Yves Thibon
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

[sage-combinat-devel] Re: Robinson-Schensted bug

2013-01-21 Thread Travis Scrimshaw
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

[sage-combinat-devel] Re: Robinson-Schensted bug

2013-01-21 Thread Jean-Yves Thibon
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