]> gitweb.michael.orlitzky.com - sage.d.git/commitdiff
eja: use different generator names in subalgebras.
authorMichael Orlitzky <michael@orlitzky.com>
Tue, 25 Jun 2019 23:14:51 +0000 (19:14 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Tue, 25 Jun 2019 23:14:51 +0000 (19:14 -0400)
mjo/eja/euclidean_jordan_algebra.py

index 603ef29021d41f53404a84513c2d854f8e4a8c64..28e2a0b7a7ca354d83b77708382bb17b04028072 100644 (file)
@@ -199,7 +199,9 @@ class FiniteDimensionalEuclideanJordanAlgebra(FiniteDimensionalAlgebra):
 
             # It's an algebra of polynomials in one element, and EJAs
             # are power-associative.
-            return FiniteDimensionalEuclideanJordanAlgebra(F, mats, assume_associative=True)
+            #
+            # TODO: choose generator names intelligently.
+            return FiniteDimensionalEuclideanJordanAlgebra(F, mats, assume_associative=True, names='f')
 
 
         def minimal_polynomial(self):