antsym was wrong lol

parent 71fd644c
...@@ -14,8 +14,11 @@ function antsym(a::SU3{T}) where T <: AbstractFloat ...@@ -14,8 +14,11 @@ function antsym(a::SU3{T}) where T <: AbstractFloat
t1 = 2.0*imag(a.u11) t1 = 2.0*imag(a.u11)
t2 = 2.0*imag(a.u22) t2 = 2.0*imag(a.u22)
t3 = 2.0*imag(a.u12*a.u21 - a.u11*a.u22) t3 = 2.0*imag(a.u12*a.u21 - a.u11*a.u22)
t4 = a.u12 - conj*(a.u21)
t5 = a.u13 - conj(a.u12*a.u23 - a.u13*a.u22)
t6 = a.u23 - conj(a.u13*a.u21 - a.u11*a.u23)
return U3alg{T}(t1,t2,t3,a.u12,a.u13,a.u23) return U3alg{T}(t1,t2,t3,t4,t5,t6)
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment