mirror of
https://github.com/kalmarek/PropertyT.jl.git
synced 2024-11-27 01:10:28 +01:00
indentation
This commit is contained in:
parent
ea6a6722be
commit
6f0087b8c7
@ -49,8 +49,7 @@ end
|
|||||||
#
|
#
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
function central_projection(RG::GroupRing, chi::AbstractCharacter,
|
function central_projection(RG::GroupRing, chi::AbstractCharacter, T::Type=Rational{Int})
|
||||||
T::Type=Rational{Int})
|
|
||||||
result = RG(T)
|
result = RG(T)
|
||||||
result.coeffs = full(result.coeffs)
|
result.coeffs = full(result.coeffs)
|
||||||
dim = chi(RG.group())
|
dim = chi(RG.group())
|
||||||
@ -70,7 +69,6 @@ function idempotents(RG::GroupRing{PermGroup}, T::Type=Rational{Int})
|
|||||||
Id = one(RG,T)
|
Id = one(RG,T)
|
||||||
transp = convert(T, RG(RG.group([2,1])))
|
transp = convert(T, RG(RG.group([2,1])))
|
||||||
return GroupRingElem{T}[1//2*(Id + transp), 1//2*(Id - transp)]
|
return GroupRingElem{T}[1//2*(Id + transp), 1//2*(Id - transp)]
|
||||||
|
|
||||||
end
|
end
|
||||||
projs = Vector{Vector{perm}}()
|
projs = Vector{Vector{perm}}()
|
||||||
for l in 2:RG.group.n
|
for l in 2:RG.group.n
|
||||||
|
Loading…
Reference in New Issue
Block a user