From b129e77878fbc632fac205138288cd23f38a4898 Mon Sep 17 00:00:00 2001 From: Fernando Desktop1 Date: Fri, 9 Feb 2024 15:11:13 +0100 Subject: [PATCH] Typo in dot() --- src/Groups/FundamentalSU3.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Groups/FundamentalSU3.jl b/src/Groups/FundamentalSU3.jl index d429d5d..d4d203b 100644 --- a/src/Groups/FundamentalSU3.jl +++ b/src/Groups/FundamentalSU3.jl @@ -38,7 +38,7 @@ norm2(a::SU3fund{T}) where T <: AbstractFloat = (abs2(a.t1) + abs2 Returns the scalar product of two fundamental elements. The convention is for the product to the linear in the second argument, and anti-linear in the first argument. """ -dot(g1::SU3fund{T},g2::SU3fund{T}) where T <: AbstractFloat = conj(g1.t1)*g2.t1+g1.t2*conj(g2.t2)+g1.t3*conj(g2.t3) +dot(g1::SU3fund{T},g2::SU3fund{T}) where T <: AbstractFloat = conj(g1.t1)*g2.t1+conj(g1.t2)*g2.t2+conj(g1.t3)*g2.t3 """ *(g::SU3{T},b::SU3fund{T})