From 7f8c5e957f3449ad73be895a5f88e889168732f9 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Wed, 3 Mar 2021 10:31:25 -0500 Subject: [PATCH] octonions: use Hurwitz subclass for the matrix algebra. --- mjo/octonions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mjo/octonions.py b/mjo/octonions.py index 289c46a..fb4b833 100644 --- a/mjo/octonions.py +++ b/mjo/octonions.py @@ -7,7 +7,7 @@ from sage.rings.all import AA, ZZ from sage.matrix.matrix_space import MatrixSpace from sage.misc.table import table -from mjo.matrix_algebra import MatrixAlgebra +from mjo.matrix_algebra import HurwitzMatrixAlgebra class Octonion(IndexedFreeModuleElement): def conjugate(self): @@ -347,7 +347,7 @@ class Octonions(CombinatorialFreeModule): -class OctonionMatrixAlgebra(MatrixAlgebra): +class OctonionMatrixAlgebra(HurwitzMatrixAlgebra): r""" The algebra of ``n``-by-``n`` matrices with octonion entries over (a subfield of) the real numbers. -- 2.44.2