Skip to content

Commit 62aab84

Browse files
committed
Add D3Irrep and D4Irrep
1 parent 73fcbaf commit 62aab84

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/irreps/dnirrep.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ Base.convert(::Type{DNIrrep{N}}, (j, n)::Tuple{Integer, Bool}) where {N} = DNIrr
5454

5555
Base.getindex(::IrrepTable, ::Type{D{N}}) where {N} = DNIrrep{N}
5656

57+
const D3Irrep = DNIrrep{3}
58+
const D4Irrep = DNIrrep{4}
59+
5760
function Base.show(io::IO, a::DNIrrep)
5861
if get(io, :typeinfo, nothing) !== typeof(a)
5962
print(io, type_repr(typeof(a)))

0 commit comments

Comments
 (0)