Base + added

parent 51a3f002
......@@ -90,4 +90,4 @@ function isgroup(a::SU3{T}) where T <: AbstractFloat
end
end
Base.:+(a::SU3{T},b::SU3{T}) where {T} = SU3{T}(a.u11+b.u11,a.u12+b.u12,a.u13+b.u13,a.u21+b.u21,a.u22+b.u22,a.u23+b.u23)
\ No newline at end of file
Base.:+(a::SU3{T},b::SU3{T}) where T <: AbstractFloat = SU3{T}(a.u11+b.u11,a.u12+b.u12,a.u13+b.u13,a.u21+b.u21,a.u22+b.u22,a.u23+b.u23)
\ No newline at end of file
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