We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab2a33e commit 2d885abCopy full SHA for 2d885ab
M2/Macaulay2/packages/Permutations/Code/main.m2
@@ -205,7 +205,6 @@ ord Permutation := ZZ => w -> (
205
206
-- see https://en.wikipedia.org/wiki/Parity_of_a_permutation for different ways
207
-- to compute the sign or parity of a permutation
208
-sign = method()
209
sign Permutation := ZZ => w -> (
210
if even(#w - #(cycleDecomposition w)) then 1 else -1
211
)
0 commit comments