Skip to content

Commit 2d885ab

Browse files
committed
Another small sign fix
1 parent ab2a33e commit 2d885ab

File tree

1 file changed

+0
-1
lines changed
  • M2/Macaulay2/packages/Permutations/Code

1 file changed

+0
-1
lines changed

M2/Macaulay2/packages/Permutations/Code/main.m2

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,6 @@ ord Permutation := ZZ => w -> (
205205

206206
-- see https://en.wikipedia.org/wiki/Parity_of_a_permutation for different ways
207207
-- to compute the sign or parity of a permutation
208-
sign = method()
209208
sign Permutation := ZZ => w -> (
210209
if even(#w - #(cycleDecomposition w)) then 1 else -1
211210
)

0 commit comments

Comments
 (0)