From 26a116dfe2e411b823c94303fea4bd4b893bf2e8 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Wed, 21 Aug 2019 16:00:02 -0400 Subject: [PATCH] eja: remove a redundant abs() on a nonnegative integer. --- mjo/eja/eja_element.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mjo/eja/eja_element.py b/mjo/eja/eja_element.py index 03376bd..d0d4590 100644 --- a/mjo/eja/eja_element.py +++ b/mjo/eja/eja_element.py @@ -763,7 +763,7 @@ class FiniteDimensionalEuclideanJordanAlgebraElement(IndexedFreeModuleElement): and in particular, a re-scaling of the basis:: sage: set_random_seed() - sage: n = ZZ.random_element(1,5).abs() + sage: n = ZZ.random_element(1,5) sage: J1 = RealSymmetricEJA(n) sage: J2 = RealSymmetricEJA(n,QQ,False) sage: X = random_matrix(QQ,n) -- 2.44.2