From dfdd66902d789e47702cfd4c263bbe59dffb168c Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Mon, 30 Nov 2020 10:17:19 -0500 Subject: [PATCH] eja: drop the "Ng" from the new constructor. --- mjo/eja/eja_algebra.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mjo/eja/eja_algebra.py b/mjo/eja/eja_algebra.py index b83f4a5..effafd4 100644 --- a/mjo/eja/eja_algebra.py +++ b/mjo/eja/eja_algebra.py @@ -1120,7 +1120,7 @@ class FiniteDimensionalEuclideanJordanAlgebra(CombinatorialFreeModule): Element = FiniteDimensionalEuclideanJordanAlgebraElement -class RationalBasisEuclideanJordanAlgebraNg(FiniteDimensionalEuclideanJordanAlgebra): +class RationalBasisEuclideanJordanAlgebra(FiniteDimensionalEuclideanJordanAlgebra): r""" New class for algebras whose supplied basis elements have all rational entries. @@ -1323,7 +1323,7 @@ class RationalBasisEuclideanJordanAlgebraNg(FiniteDimensionalEuclideanJordanAlge if self.base_ring() is QQ: # There's no need to construct *another* algebra over the # rationals if this one is already over the rationals. - superclass = super(RationalBasisEuclideanJordanAlgebraNg, self) + superclass = super(RationalBasisEuclideanJordanAlgebra, self) return superclass._charpoly_coefficients() # Do the computation over the rationals. The answer will be @@ -2284,7 +2284,7 @@ class QuaternionHermitianEJA(QuaternionMatrixEuclideanJordanAlgebra, return cls(n, field, **kwargs) -class HadamardEJA(RationalBasisEuclideanJordanAlgebraNg, +class HadamardEJA(RationalBasisEuclideanJordanAlgebra, ConcreteEuclideanJordanAlgebra): """ Return the Euclidean Jordan Algebra corresponding to the set @@ -2362,7 +2362,7 @@ class HadamardEJA(RationalBasisEuclideanJordanAlgebraNg, return cls(n, field, **kwargs) -class BilinearFormEJA(RationalBasisEuclideanJordanAlgebraNg, +class BilinearFormEJA(RationalBasisEuclideanJordanAlgebra, ConcreteEuclideanJordanAlgebra): r""" The rank-2 simple EJA consisting of real vectors ``x=(x0, x_bar)`` -- 2.44.2