Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
SoongNoonien committed Sep 25, 2024
1 parent 9cbed68 commit 107065b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/GenericCharacter.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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, char[1])

Check warning on line 175 in src/GenericCharacter.jl

View check run for this annotation

Codecov / codecov/patch

src/GenericCharacter.jl#L175

Added line #L175 was not covered by tests
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.")

Check warning on line 180 in src/GenericCharacter.jl

View check run for this annotation

Codecov / codecov/patch

src/GenericCharacter.jl#L180

Added line #L180 was not covered by tests
end
S=base_ring(t.ring)
# There a 6 pre defined variable sets used in Ortho.jl and for tensor products.
Expand Down Expand Up @@ -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, char[1])

Check warning on line 233 in src/GenericCharacter.jl

View check run for this annotation

Codecov / codecov/patch

src/GenericCharacter.jl#L233

Added line #L233 was not covered by tests
end
charids=Vector{Int64}(undef, n)
for i in 1:n
Expand Down

0 comments on commit 107065b

Please sign in to comment.