Skip to content

Commit

Permalink
Update show for GroupAlgebraElem with sparse rep
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoettgens committed Nov 19, 2024
1 parent 1b69e3d commit ca029b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AlgAss/Elem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ function show(io::IO, a::AbstractAssociativeAlgebraElem)
for (i, ci) in a.coeffs_sparse
push!(sum.args,
Expr(:call, :*, AbstractAlgebra.expressify(ci, context = io),
AbstractAlgebra.expressify(parent(a).base_to_group[i], context = IOContext(io, :compact => true))))
Expr(:call, :e, AbstractAlgebra.expressify(parent(a).base_to_group[i], context = IOContext(io, :compact => true)))))
end
end
print(io, AbstractAlgebra.expr_to_string(AbstractAlgebra.canonicalize(sum)))
Expand Down

0 comments on commit ca029b7

Please sign in to comment.