]> gitweb.michael.orlitzky.com - sage.d.git/commitdiff
mjo/eja/eja_element_subalgebra.py: switch two tests back to QQ.
authorMichael Orlitzky <michael@orlitzky.com>
Sun, 18 Oct 2020 05:23:58 +0000 (01:23 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Sun, 18 Oct 2020 05:23:58 +0000 (01:23 -0400)
mjo/eja/eja_element_subalgebra.py

index 67342c6be3df71a63eb4cf82337f52ff7edf5fea..7fbd0609d9578406cb3ce9a8683fc6e46c8a95e4 100644 (file)
@@ -120,7 +120,7 @@ class FiniteDimensionalEuclideanJordanElementSubalgebra(FiniteDimensionalEuclide
         The identity element acts like the identity over the rationals::
 
             sage: set_random_seed()
-            sage: x = random_eja().random_element()
+            sage: x = random_eja(field=QQ).random_element()
             sage: A = x.subalgebra_generated_by()
             sage: x = A.random_element()
             sage: A.one()*x == x and x*A.one() == x
@@ -140,7 +140,7 @@ class FiniteDimensionalEuclideanJordanElementSubalgebra(FiniteDimensionalEuclide
         the rationals::
 
             sage: set_random_seed()
-            sage: x = random_eja().random_element()
+            sage: x = random_eja(field=QQ).random_element()
             sage: A = x.subalgebra_generated_by()
             sage: actual = A.one().operator().matrix()
             sage: expected = matrix.identity(A.base_ring(), A.dimension())