From 85fd9fd04201a561401c73c2bd2c98e64d9a78f0 Mon Sep 17 00:00:00 2001 From: Martin Wagner Date: Wed, 25 Sep 2024 12:29:49 +0200 Subject: [PATCH] Fix typos --- src/GenericCharacter.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/GenericCharacter.jl b/src/GenericCharacter.jl index 575167f6..0fd4b49b 100644 --- a/src/GenericCharacter.jl +++ b/src/GenericCharacter.jl @@ -172,12 +172,12 @@ function lincomb(coeffs::Vector{Int64}, chars::Vector{<:GenericCharacter}) n=length(coeffs) t=parent(chars[1]) for char in chars[2:end] - check_parent(char, char1) + check_parent(char, chars[1]) end charids=Vector{Int64}(undef, n) for i in 1:n charids[i]=chartypeid(chars[i]) - charids[i] !== nothing || error("Characters are not all irreducible.")) + charids[i] !== nothing || error("Characters are not all irreducible.") end S=base_ring(t.ring) # There a 6 pre defined variable sets used in Ortho.jl and for tensor products. @@ -230,7 +230,7 @@ function lincomb(coeffs::Vector{Int64}, chars::Vector{SimpleGenericCharacter{T}} n=length(coeffs) t=parent(chars[1]) for char in chars[2:end] - check_parent(char, char1) + check_parent(char, chars[1]) end charids=Vector{Int64}(undef, n) for i in 1:n