From 2ce97eef3264e148f8a394c18b50db99d4619999 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Sun, 18 Oct 2020 01:23:58 -0400 Subject: [PATCH] mjo/eja/eja_element_subalgebra.py: switch two tests back to QQ. --- mjo/eja/eja_element_subalgebra.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()) -- 2.44.2