Typo in documentation

This commit is contained in:
Fernando P. Panadero 2023-12-09 12:49:32 +01:00
parent 30d3c2ae89
commit 9e30ec0500
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ end
""" """
antsym(a::SU2{T}) where T <: AbstractFloat antsym(a::SU2{T}) where T <: AbstractFloat
Returns the antisymmetrization of the SU2 element `a`, that is `\`\ a - a^{\\dagger} `\`. This method returns al element of `U2alg{T}`. Returns the antisymmetrization of the SU2 element `a`, that is `\`\` `a - a^{\\dagger}` `\`. This method returns al element of `U2alg{T}`.
""" """
function antsym(a::SU2{T}) where T <: AbstractFloat function antsym(a::SU2{T}) where T <: AbstractFloat
return U2alg{T}(2.0*imag(a.t1),-2.0*imag(a.t1),2.0*a.t2) return U2alg{T}(2.0*imag(a.t1),-2.0*imag(a.t1),2.0*a.t2)

View file

@ -17,7 +17,7 @@ end
""" """
antsym(a::SU3{T}) where T <: AbstractFloat antsym(a::SU3{T}) where T <: AbstractFloat
Returns the antisymmetrization of the SU3 element `a`, that is `\`\ a - a^{\\dagger} `\`. This method returns al element of `U3alg{T}`. Returns the antisymmetrization of the SU3 element `a`, that is `\`\` `a - a^{\\dagger}` `\`. This method returns al element of `U3alg{T}`.
""" """
function antsym(a::SU3{T}) where T <: AbstractFloat function antsym(a::SU3{T}) where T <: AbstractFloat
t1 = 2.0*imag(a.u11) t1 = 2.0*imag(a.u11)