]> gitweb.michael.orlitzky.com - sage.d.git/commitdiff
eja: don't check the field/axioms in element subalgebras. YOLO.
authorMichael Orlitzky <michael@orlitzky.com>
Thu, 25 Feb 2021 23:44:36 +0000 (18:44 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Thu, 25 Feb 2021 23:44:36 +0000 (18:44 -0500)
mjo/eja/eja_element.py

index 5a2ff5a2cc97217042868723275fc51d0e97af85..b5f661bf037667d4d9210b6af65a3c1f95120732 100644 (file)
@@ -1450,7 +1450,11 @@ class FiniteDimensionalEJAElement(IndexedFreeModuleElement):
 
         """
         powers = tuple( self**k for k in range(self.degree()) )
-        A = self.parent().subalgebra(powers, associative=True, **kwargs)
+        A = self.parent().subalgebra(powers,
+                                     associative=True,
+                                     check_field=False,
+                                     check_axioms=False,
+                                     **kwargs)
         A.one.set_cache(A(self.parent().one()))
         return A