From: Michael Orlitzky Date: Sun, 18 Oct 2020 05:23:58 +0000 (-0400) Subject: mjo/eja/eja_element_subalgebra.py: switch two tests back to QQ. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=2ce97eef3264e148f8a394c18b50db99d4619999;p=sage.d.git mjo/eja/eja_element_subalgebra.py: switch two tests back to QQ. --- diff --git a/mjo/eja/eja_element_subalgebra.py b/mjo/eja/eja_element_subalgebra.py index 67342c6..7fbd060 100644 --- a/mjo/eja/eja_element_subalgebra.py +++ b/mjo/eja/eja_element_subalgebra.py @@ -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())