From: Michael Orlitzky Date: Sat, 6 Jul 2019 03:04:32 +0000 (-0400) Subject: eja: add ComplexHermitianSimpleEJA to random_eja(). X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=253d2f0d413e4ea64295242411f24673ae8e0b17;p=sage.d.git eja: add ComplexHermitianSimpleEJA to random_eja(). --- diff --git a/mjo/eja/euclidean_jordan_algebra.py b/mjo/eja/euclidean_jordan_algebra.py index 5d17e88..6bc53a1 100644 --- a/mjo/eja/euclidean_jordan_algebra.py +++ b/mjo/eja/euclidean_jordan_algebra.py @@ -652,9 +652,9 @@ def random_eja(): Euclidean Jordan algebra of degree... """ - n = ZZ.random_element(1,10).abs() - constructor = choice([eja_rn, eja_ln, eja_sn]) - return constructor(dimension=n, field=QQ) + n = ZZ.random_element(1,5).abs() + constructor = choice([eja_rn, eja_ln, eja_sn, ComplexHermitianSimpleEJA]) + return constructor(n, field=QQ)