From: Michael Orlitzky Date: Sat, 27 Feb 2021 23:27:41 +0000 (-0500) Subject: eja: speed up the double-subalgebra test by using QQ. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=d395668ab9c439d2ee5ec6224d2061656da5ae04;p=sage.d.git eja: speed up the double-subalgebra test by using QQ. --- diff --git a/mjo/eja/eja_subalgebra.py b/mjo/eja/eja_subalgebra.py index 7ba8f79..92fd296 100644 --- a/mjo/eja/eja_subalgebra.py +++ b/mjo/eja/eja_subalgebra.py @@ -71,15 +71,15 @@ class FiniteDimensionalEJASubalgebraElement(FiniteDimensionalEJAElement): We can convert back and forth faithfully:: sage: set_random_seed() - sage: J = random_eja() + sage: J = random_eja(field=QQ, orthonormalize=False) sage: x = J.random_element() - sage: A = x.subalgebra_generated_by() + sage: A = x.subalgebra_generated_by(orthonormalize=False) sage: A(x).superalgebra_element() == x True sage: y = A.random_element() sage: A(y.superalgebra_element()) == y True - sage: B = y.subalgebra_generated_by() + sage: B = y.subalgebra_generated_by(orthonormalize=False) sage: B(y).superalgebra_element() == y True