Skip to content

Commit

Permalink
Use parent for AlgebraElement (one missing)
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Jun 12, 2024
1 parent e1ea27e commit 5b62cd7
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 @@ -2,7 +2,7 @@ Base.adjoint(a::AlgebraElement) = star(a)
star(x::Any) = x'

function star(X::AlgebraElement)
res = star(basis(parent(X)), coeffs(X))
res = star(basis(X), coeffs(X))
return AlgebraElement(res, parent(X))
end

Expand Down

0 comments on commit 5b62cd7

Please sign in to comment.