ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Fri, 23 Feb 2024 10:43:54 +0100Bug: RSK Kills Kernelhttps://ask.sagemath.org/question/76164/bug-rsk-kills-kernel/I am using Sage 10.0 on an M2 Silicon chip Macbook Air 13'.
Method of replicating bug: I accidentally used RSK on an element of `SymmetricGroup(n)` instead of an object of `Permutation` class. I don't think it's intended to work on the former, but this always kills the kernel for some reason. The entire notebook needs rerunning after that.Thu, 22 Feb 2024 14:34:15 +0100https://ask.sagemath.org/question/76164/bug-rsk-kills-kernel/Comment by yeetcode for <p>I am using Sage 10.0 on an M2 Silicon chip Macbook Air 13'.</p>
<p>Method of replicating bug: I accidentally used RSK on an element of <code>SymmetricGroup(n)</code> instead of an object of <code>Permutation</code> class. I don't think it's intended to work on the former, but this always kills the kernel for some reason. The entire notebook needs rerunning after that.</p>
https://ask.sagemath.org/question/76164/bug-rsk-kills-kernel/?comment=76184#post-id-76184@FrédéricC I remarked the same above. However, in this case, `RSK` should return a ValueError, and not kill the kernel instead. @Max Alekseyev thanks, I'll report my finding there.Fri, 23 Feb 2024 10:43:54 +0100https://ask.sagemath.org/question/76164/bug-rsk-kills-kernel/?comment=76184#post-id-76184Comment by FrédéricC for <p>I am using Sage 10.0 on an M2 Silicon chip Macbook Air 13'.</p>
<p>Method of replicating bug: I accidentally used RSK on an element of <code>SymmetricGroup(n)</code> instead of an object of <code>Permutation</code> class. I don't think it's intended to work on the former, but this always kills the kernel for some reason. The entire notebook needs rerunning after that.</p>
https://ask.sagemath.org/question/76164/bug-rsk-kills-kernel/?comment=76169#post-id-76169There is no rsk method on element of `SymmetricGroup(n)`:
sage: s=SymmetricGroup(4).random_element()
sage: t=Permutations(4).random_element()
sage: t.robinson_schensted()
[[[1, 2], [3, 4]], [[1, 3], [2, 4]]]
sage: s.r[TAB]Thu, 22 Feb 2024 17:45:46 +0100https://ask.sagemath.org/question/76164/bug-rsk-kills-kernel/?comment=76169#post-id-76169Comment by Max Alekseyev for <p>I am using Sage 10.0 on an M2 Silicon chip Macbook Air 13'.</p>
<p>Method of replicating bug: I accidentally used RSK on an element of <code>SymmetricGroup(n)</code> instead of an object of <code>Permutation</code> class. I don't think it's intended to work on the former, but this always kills the kernel for some reason. The entire notebook needs rerunning after that.</p>
https://ask.sagemath.org/question/76164/bug-rsk-kills-kernel/?comment=76167#post-id-76167Bugs should be reported at https://github.com/sagemath/sage/issuesThu, 22 Feb 2024 17:32:18 +0100https://ask.sagemath.org/question/76164/bug-rsk-kills-kernel/?comment=76167#post-id-76167