1
0
mirror of https://github.com/kalmarek/Groups.jl.git synced 2024-11-19 06:30:29 +01:00

fix: inv(flip_AutSymbol) gave incorrect results

This commit is contained in:
kalmar 2017-02-10 15:04:43 +01:00
parent f88d59e7e9
commit 2109f63738

View File

@ -73,7 +73,7 @@ function σ(perm, pow=1)
end
end
ɛ(i, pow=1) = v -> [(k==i ? v[k]^(-1*(pow % 2)) : v[k]) for k in eachindex(v)]
ɛ(i, pow=1) = v -> [(k==i ? v[k]^(-1*(2+pow%2)%2) : v[k]) for k in eachindex(v)]
function rmul_AutSymbol(i,j; pow::Int=1)
gen = string('ϱ',Char(8320+i), Char(8320+j)...)