Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Dec 15, 2024
1 parent 185e87d commit 45419eb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/fixed.jl
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ struct SemisimpleElement{P}
end
SA.star(p::SemisimpleElement) = SemisimpleElement(SA.star.(p.polynomials))

Base.getindex(b::SemisimpleBasis, i::Integer) = SemisimpleElement(getindex.(b.bases, i))
function Base.getindex(b::SemisimpleBasis, i::Integer)
return SemisimpleElement(getindex.(b.bases, i))
end

function Base.show(io::IO, b::SemisimpleBasis)
if length(b.bases) == 1
Expand Down

0 comments on commit 45419eb

Please sign in to comment.