From f423676800e9be4e49e00f3ca07f81e662e6ef14 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Wed, 8 Apr 2026 20:28:49 -0400 Subject: [PATCH] mjo/hurwitz.py: update tests to use Sage's octonions --- mjo/hurwitz.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mjo/hurwitz.py b/mjo/hurwitz.py index 7ceebd3..6d02168 100644 --- a/mjo/hurwitz.py +++ b/mjo/hurwitz.py @@ -554,7 +554,7 @@ class HurwitzMatrixAlgebra(MatrixAlgebra): SETUP:: - sage: from mjo.hurwitz import Octonions, HurwitzMatrixAlgebra + sage: from mjo.hurwitz import HurwitzMatrixAlgebra EXAMPLES: @@ -567,8 +567,8 @@ class HurwitzMatrixAlgebra(MatrixAlgebra): (I,) sage: QuaternionAlgebra(AA,1,-1).gens() (i, j, k) - sage: Octonions().gens() - (e0, e1, e2, e3, e4, e5, e6, e7) + sage: OctonionAlgebra(QQ).gens() + (i, j, k, l) The unit element is always returned by this method, so the sets of generators have cartinality 1,2,4, and 8 as you'd @@ -612,7 +612,7 @@ class OctonionMatrixAlgebra(HurwitzMatrixAlgebra): SETUP:: - sage: from mjo.hurwitz import Octonions, OctonionMatrixAlgebra + sage: from mjo.hurwitz import OctonionMatrixAlgebra EXAMPLES:: -- 2.53.0