Skip to content

Commit 03de416

Browse files
committed
extend isotypics method
1 parent 4a587d8 commit 03de416

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/decompositions/isotypic-decomp.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,4 +114,5 @@ invariants(
114114
ID::IsotypicDecomposition
115115
) = ID[zero(highest_weight(first(isotypics(ID))))]
116116

117-
isotypics::GroupRepresentation) = IsotypicDecomposition(ρ)
117+
isotypics::GroupRepresentation) = IsotypicDecomposition(ρ)
118+
isotypics(ID::IrreducibleDecomposition) = IsotypicDecomposition(ID)

src/representations/irred-reprs.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ action(ρ::IrreducibleRepresentation) = ρ.action
6262
hw_vector::IrreducibleRepresentation) = hw_vector.hw_module)
6363
space::IrreducibleRepresentation) = HighestWeightModule(action(ρ), hw_vector(ρ))
6464
highest_weight::IrreducibleRepresentation) = weight(hw_vector(ρ))
65-
irreducibles::IrreducibleRepresentation; decomp_count=nothing) = [ρ]
65+
irreducibles::IrreducibleRepresentation; logging::Bool=false, decomp_count=nothing) = [ρ]
6666
isotypics::IrreducibleRepresentation) = [IsotypicComponent(ρ)]
6767

6868
function Base.show(io::IO, ::MIME"text/plain", ρ::IrreducibleRepresentation)

0 commit comments

Comments
 (0)