From c5cc1f4031afc55a4d36266ebd7a145caf4a9d28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Legat?= Date: Wed, 12 Jun 2024 17:36:16 +0200 Subject: [PATCH] Use parent for AlgebraElement (one missing) (#43) --- src/star.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/star.jl b/src/star.jl index b0e971d..100f707 100644 --- a/src/star.jl +++ b/src/star.jl @@ -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