From 64eae761701c3c6811f47147822fd36ebed85535 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Fri, 5 Jul 2019 23:04:32 -0400 Subject: [PATCH] eja: add ComplexHermitianSimpleEJA to random_eja(). --- mjo/eja/euclidean_jordan_algebra.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) -- 2.44.2