From 5b62cd713468390aec47aa0a9318b1f6050ac3e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Legat?= Date: Wed, 12 Jun 2024 17:01:46 +0200 Subject: [PATCH] Use parent for AlgebraElement (one missing) --- 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