Skip to content

Commit

Permalink
Broadcast star
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Jul 5, 2024
1 parent f998c9f commit fda4b1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/star.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function star(X::AlgebraElement)
return AlgebraElement(res, parent(X))
end

star(::AbstractBasis, x) = star(x)
star(::AbstractBasis, x) = star.(x)

function star(basis::AbstractBasis, d::SparseCoefficients)
k = star.(Ref(basis), keys(d))
Expand Down

0 comments on commit fda4b1f

Please sign in to comment.