]> gitweb.michael.orlitzky.com - sage.d.git/commitdiff
eja: pass associative=True in some tests.
authorMichael Orlitzky <michael@orlitzky.com>
Fri, 26 Feb 2021 02:13:24 +0000 (21:13 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Fri, 26 Feb 2021 02:13:24 +0000 (21:13 -0500)
mjo/eja/eja_subalgebra.py

index 024903c256f5af81e9567b77f29b92a4537f88f8..7ba8f7970a3e474a583684af8f9a5cb3dc4e7115 100644 (file)
@@ -110,11 +110,11 @@ class FiniteDimensionalEJASubalgebra(FiniteDimensionalEJA):
         ....:                    [0,0] ])
         sage: E22 = matrix(AA, [ [0,0],
         ....:                    [0,1] ])
-        sage: K1 = FiniteDimensionalEJASubalgebra(J, (J(E11),))
+        sage: K1 = FiniteDimensionalEJASubalgebra(J, (J(E11),), associative=True)
         sage: K1.one().to_matrix()
         [1 0]
         [0 0]
-        sage: K2 = FiniteDimensionalEJASubalgebra(J, (J(E22),))
+        sage: K2 = FiniteDimensionalEJASubalgebra(J, (J(E22),), associative=True)
         sage: K2.one().to_matrix()
         [0 0]
         [0 1]
@@ -195,7 +195,10 @@ class FiniteDimensionalEJASubalgebra(FiniteDimensionalEJA):
             ....:                  [1,0,0] ])
             sage: x = J(X)
             sage: basis = ( x, x^2 ) # x^2 is the identity matrix
-            sage: K = FiniteDimensionalEJASubalgebra(J, basis, orthonormalize=False)
+            sage: K = FiniteDimensionalEJASubalgebra(J,
+            ....:                                    basis,
+            ....:                                    associative=True,
+            ....:                                    orthonormalize=False)
             sage: K(J.one())
             f1
             sage: K(J.one() + x)